"use strict";(self.webpackChunkrnp_app=self.webpackChunkrnp_app||[]).push([[792],{828:()=>{function de(e){return"function"==typeof e}function ei(e){const t=e(r=>{Error.call(r),r.stack=(new Error).stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}const Fs=ei(e=>function(t){e(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((r,o)=>`${o+1}) ${r.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t});function ti(e,n){if(e){const t=e.indexOf(n);0<=t&&e.splice(t,1)}}class bt{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let n;if(!this.closed){this.closed=!0;const{_parentage:t}=this;if(t)if(this._parentage=null,Array.isArray(t))for(const i of t)i.remove(this);else t.remove(this);const{initialTeardown:r}=this;if(de(r))try{r()}catch(i){n=i instanceof Fs?i.errors:[i]}const{_finalizers:o}=this;if(o){this._finalizers=null;for(const i of o)try{Wh(i)}catch(s){n=n??[],s instanceof Fs?n=[...n,...s.errors]:n.push(s)}}if(n)throw new Fs(n)}}add(n){var t;if(n&&n!==this)if(this.closed)Wh(n);else{if(n instanceof bt){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=null!==(t=this._finalizers)&&void 0!==t?t:[]).push(n)}}_hasParent(n){const{_parentage:t}=this;return t===n||Array.isArray(t)&&t.includes(n)}_addParent(n){const{_parentage:t}=this;this._parentage=Array.isArray(t)?(t.push(n),t):t?[t,n]:n}_removeParent(n){const{_parentage:t}=this;t===n?this._parentage=null:Array.isArray(t)&&ti(t,n)}remove(n){const{_finalizers:t}=this;t&&ti(t,n),n instanceof bt&&n._removeParent(this)}}bt.EMPTY=(()=>{const e=new bt;return e.closed=!0,e})();const Gh=bt.EMPTY;function qh(e){return e instanceof bt||e&&"closed"in e&&de(e.remove)&&de(e.add)&&de(e.unsubscribe)}function Wh(e){de(e)?e():e.unsubscribe()}const ar={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},ks={setTimeout(e,n,...t){const{delegate:r}=ks;return r?.setTimeout?r.setTimeout(e,n,...t):setTimeout(e,n,...t)},clearTimeout(e){const{delegate:n}=ks;return(n?.clearTimeout||clearTimeout)(e)},delegate:void 0};function Zh(e){ks.setTimeout(()=>{const{onUnhandledError:n}=ar;if(!n)throw e;n(e)})}function yl(){}const z0=Cl("C",void 0,void 0);function Cl(e,n,t){return{kind:e,value:n,error:t}}let cr=null;function Ls(e){if(ar.useDeprecatedSynchronousErrorHandling){const n=!cr;if(n&&(cr={errorThrown:!1,error:null}),e(),n){const{errorThrown:t,error:r}=cr;if(cr=null,t)throw r}}else e()}class _l extends bt{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,qh(n)&&n.add(this)):this.destination=K0}static create(n,t,r){return new ni(n,t,r)}next(n){this.isStopped?Dl(function q0(e){return Cl("N",e,void 0)}(n),this):this._next(n)}error(n){this.isStopped?Dl(function G0(e){return Cl("E",void 0,e)}(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?Dl(z0,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(n){this.destination.next(n)}_error(n){try{this.destination.error(n)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const Z0=Function.prototype.bind;function bl(e,n){return Z0.call(e,n)}class Y0{constructor(n){this.partialObserver=n}next(n){const{partialObserver:t}=this;if(t.next)try{t.next(n)}catch(r){Vs(r)}}error(n){const{partialObserver:t}=this;if(t.error)try{t.error(n)}catch(r){Vs(r)}else Vs(n)}complete(){const{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(t){Vs(t)}}}class ni extends _l{constructor(n,t,r){let o;if(super(),de(n)||!n)o={next:n??void 0,error:t??void 0,complete:r??void 0};else{let i;this&&ar.useDeprecatedNextContext?(i=Object.create(n),i.unsubscribe=()=>this.unsubscribe(),o={next:n.next&&bl(n.next,i),error:n.error&&bl(n.error,i),complete:n.complete&&bl(n.complete,i)}):o=n}this.destination=new Y0(o)}}function Vs(e){ar.useDeprecatedSynchronousErrorHandling?function W0(e){ar.useDeprecatedSynchronousErrorHandling&&cr&&(cr.errorThrown=!0,cr.error=e)}(e):Zh(e)}function Dl(e,n){const{onStoppedNotification:t}=ar;t&&ks.setTimeout(()=>t(e,n))}const K0={closed:!0,next:yl,error:function Q0(e){throw e},complete:yl},wl="function"==typeof Symbol&&Symbol.observable||"@@observable";function Ln(e){return e}function Yh(e){return 0===e.length?Ln:1===e.length?e[0]:function(t){return e.reduce((r,o)=>o(r),t)}}let Ae=(()=>{class e{constructor(t){t&&(this._subscribe=t)}lift(t){const r=new e;return r.source=this,r.operator=t,r}subscribe(t,r,o){const i=function eE(e){return e&&e instanceof _l||function J0(e){return e&&de(e.next)&&de(e.error)&&de(e.complete)}(e)&&qh(e)}(t)?t:new ni(t,r,o);return Ls(()=>{const{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(t){try{return this._subscribe(t)}catch(r){t.error(r)}}forEach(t,r){return new(r=Qh(r))((o,i)=>{const s=new ni({next:a=>{try{t(a)}catch(c){i(c),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(t){var r;return null===(r=this.source)||void 0===r?void 0:r.subscribe(t)}[wl](){return this}pipe(...t){return Yh(t)(this)}toPromise(t){return new(t=Qh(t))((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=n=>new e(n),e})();function Qh(e){var n;return null!==(n=e??ar.Promise)&&void 0!==n?n:Promise}const tE=ei(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let ft=(()=>{class e extends Ae{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){const r=new Kh(this,this);return r.operator=t,r}_throwIfClosed(){if(this.closed)throw new tE}next(t){Ls(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const r of this.currentObservers)r.next(t)}})}error(t){Ls(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=t;const{observers:r}=this;for(;r.length;)r.shift().error(t)}})}complete(){Ls(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:t}=this;for(;t.length;)t.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var t;return(null===(t=this.observers)||void 0===t?void 0:t.length)>0}_trySubscribe(t){return this._throwIfClosed(),super._trySubscribe(t)}_subscribe(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)}_innerSubscribe(t){const{hasError:r,isStopped:o,observers:i}=this;return r||o?Gh:(this.currentObservers=null,i.push(t),new bt(()=>{this.currentObservers=null,ti(i,t)}))}_checkFinalizedStatuses(t){const{hasError:r,thrownError:o,isStopped:i}=this;r?t.error(o):i&&t.complete()}asObservable(){const t=new Ae;return t.source=this,t}}return e.create=(n,t)=>new Kh(n,t),e})();class Kh extends ft{constructor(n,t){super(),this.destination=n,this.source=t}next(n){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===r||r.call(t,n)}error(n){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===r||r.call(t,n)}complete(){var n,t;null===(t=null===(n=this.destination)||void 0===n?void 0:n.complete)||void 0===t||t.call(n)}_subscribe(n){var t,r;return null!==(r=null===(t=this.source)||void 0===t?void 0:t.subscribe(n))&&void 0!==r?r:Gh}}function Xh(e){return de(e?.lift)}function Fe(e){return n=>{if(Xh(n))return n.lift(function(t){try{return e(t,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function Re(e,n,t,r,o){return new nE(e,n,t,r,o)}class nE extends _l{constructor(n,t,r,o,i,s){super(n),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=t?function(a){try{t(a)}catch(c){n.error(c)}}:super._next,this._error=o?function(a){try{o(a)}catch(c){n.error(c)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){n.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:t}=this;super.unsubscribe(),!t&&(null===(n=this.onFinalize)||void 0===n||n.call(this))}}}function ne(e,n){return Fe((t,r)=>{let o=0;t.subscribe(Re(r,i=>{r.next(e.call(n,i,o++))}))})}function Vn(e){return this instanceof Vn?(this.v=e,this):new Vn(e)}function np(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=function Il(e){var n="function"==typeof Symbol&&Symbol.iterator,t=n&&e[n],r=0;if(t)return t.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(i){t[i]=e[i]&&function(s){return new Promise(function(a,c){!function o(i,s,a,c){Promise.resolve(c).then(function(l){i({value:l,done:a})},s)}(a,c,(s=e[i](s)).done,s.value)})}}}"function"==typeof SuppressedError&&SuppressedError;const rp=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function op(e){return de(e?.then)}function ip(e){return de(e[wl])}function sp(e){return Symbol.asyncIterator&&de(e?.[Symbol.asyncIterator])}function ap(e){return new TypeError(`You provided ${null!==e&&"object"==typeof e?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const cp=function TE(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function lp(e){return de(e?.[cp])}function up(e){return function tp(e,n,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o,r=t.apply(e,n||[]),i=[];return o=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",function s(g){return function(v){return Promise.resolve(v).then(g,d)}}),o[Symbol.asyncIterator]=function(){return this},o;function a(g,v){r[g]&&(o[g]=function(y){return new Promise(function(b,E){i.push([g,y,b,E])>1||c(g,y)})},v&&(o[g]=v(o[g])))}function c(g,v){try{!function l(g){g.value instanceof Vn?Promise.resolve(g.value.v).then(u,d):f(i[0][2],g)}(r[g](v))}catch(y){f(i[0][3],y)}}function u(g){c("next",g)}function d(g){c("throw",g)}function f(g,v){g(v),i.shift(),i.length&&c(i[0][0],i[0][1])}}(this,arguments,function*(){const t=e.getReader();try{for(;;){const{value:r,done:o}=yield Vn(t.read());if(o)return yield Vn(void 0);yield yield Vn(r)}}finally{t.releaseLock()}})}function dp(e){return de(e?.getReader)}function Rt(e){if(e instanceof Ae)return e;if(null!=e){if(ip(e))return function xE(e){return new Ae(n=>{const t=e[wl]();if(de(t.subscribe))return t.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(rp(e))return function PE(e){return new Ae(n=>{for(let t=0;t{e.then(t=>{n.closed||(n.next(t),n.complete())},t=>n.error(t)).then(null,Zh)})}(e);if(sp(e))return fp(e);if(lp(e))return function RE(e){return new Ae(n=>{for(const t of e)if(n.next(t),n.closed)return;n.complete()})}(e);if(dp(e))return function NE(e){return fp(up(e))}(e)}throw ap(e)}function fp(e){return new Ae(n=>{(function FE(e,n){var t,r,o,i;return function Jh(e,n,t,r){return new(t||(t=Promise))(function(i,s){function a(u){try{l(r.next(u))}catch(d){s(d)}}function c(u){try{l(r.throw(u))}catch(d){s(d)}}function l(u){u.done?i(u.value):function o(i){return i instanceof t?i:new t(function(s){s(i)})}(u.value).then(a,c)}l((r=r.apply(e,n||[])).next())})}(this,void 0,void 0,function*(){try{for(t=np(e);!(r=yield t.next()).done;)if(n.next(r.value),n.closed)return}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=t.return)&&(yield i.call(t))}finally{if(o)throw o.error}}n.complete()})})(e,n).catch(t=>n.error(t))})}function vn(e,n,t,r=0,o=!1){const i=n.schedule(function(){t(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function $e(e,n,t=1/0){return de(n)?$e((r,o)=>ne((i,s)=>n(r,i,o,s))(Rt(e(r,o))),t):("number"==typeof n&&(t=n),Fe((r,o)=>function kE(e,n,t,r,o,i,s,a){const c=[];let l=0,u=0,d=!1;const f=()=>{d&&!c.length&&!l&&n.complete()},g=y=>l{i&&n.next(y),l++;let b=!1;Rt(t(y,u++)).subscribe(Re(n,E=>{o?.(E),i?g(E):n.next(E)},()=>{b=!0},void 0,()=>{if(b)try{for(l--;c.length&&lv(E)):v(E)}f()}catch(E){n.error(E)}}))};return e.subscribe(Re(n,g,()=>{d=!0,f()})),()=>{a?.()}}(r,o,e,t)))}function kr(e=1/0){return $e(Ln,e)}const Jt=new Ae(e=>e.complete());function Tl(e){return e[e.length-1]}function hp(e){return de(Tl(e))?e.pop():void 0}function ri(e){return function VE(e){return e&&de(e.schedule)}(Tl(e))?e.pop():void 0}function pp(e,n=0){return Fe((t,r)=>{t.subscribe(Re(r,o=>vn(r,e,()=>r.next(o),n),()=>vn(r,e,()=>r.complete(),n),o=>vn(r,e,()=>r.error(o),n)))})}function gp(e,n=0){return Fe((t,r)=>{r.add(e.schedule(()=>t.subscribe(r),n))})}function mp(e,n){if(!e)throw new Error("Iterable cannot be null");return new Ae(t=>{vn(t,n,()=>{const r=e[Symbol.asyncIterator]();vn(t,n,()=>{r.next().then(o=>{o.done?t.complete():t.next(o.value)})},0,!0)})})}function Te(e,n){return n?function GE(e,n){if(null!=e){if(ip(e))return function BE(e,n){return Rt(e).pipe(gp(n),pp(n))}(e,n);if(rp(e))return function UE(e,n){return new Ae(t=>{let r=0;return n.schedule(function(){r===e.length?t.complete():(t.next(e[r++]),t.closed||this.schedule())})})}(e,n);if(op(e))return function $E(e,n){return Rt(e).pipe(gp(n),pp(n))}(e,n);if(sp(e))return mp(e,n);if(lp(e))return function HE(e,n){return new Ae(t=>{let r;return vn(t,n,()=>{r=e[cp](),vn(t,n,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){return void t.error(s)}i?t.complete():t.next(o)},0,!0)}),()=>de(r?.return)&&r.return()})}(e,n);if(dp(e))return function zE(e,n){return mp(up(e),n)}(e,n)}throw ap(e)}(e,n):Rt(e)}class Dt extends ft{constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){const t=super._subscribe(n);return!t.closed&&n.next(this._value),t}getValue(){const{hasError:n,thrownError:t,_value:r}=this;if(n)throw t;return this._throwIfClosed(),r}next(n){super.next(this._value=n)}}function F(...e){return Te(e,ri(e))}function vp(e={}){const{connector:n=(()=>new ft),resetOnError:t=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,c,l=0,u=!1,d=!1;const f=()=>{a?.unsubscribe(),a=void 0},g=()=>{f(),s=c=void 0,u=d=!1},v=()=>{const y=s;g(),y?.unsubscribe()};return Fe((y,b)=>{l++,!d&&!u&&f();const E=c=c??n();b.add(()=>{l--,0===l&&!d&&!u&&(a=xl(v,o))}),E.subscribe(b),!s&&l>0&&(s=new ni({next:_=>E.next(_),error:_=>{d=!0,f(),a=xl(g,t,_),E.error(_)},complete:()=>{u=!0,f(),a=xl(g,r),E.complete()}}),Rt(y).subscribe(s))})(i)}}function xl(e,n,...t){if(!0===n)return void e();if(!1===n)return;const r=new ni({next:()=>{r.unsubscribe(),e()}});return n(...t).subscribe(r)}function Y(e,n){return Fe((t,r)=>{let o=null,i=0,s=!1;const a=()=>s&&!o&&r.complete();t.subscribe(Re(r,c=>{o?.unsubscribe();let l=0;const u=i++;Rt(e(c,u)).subscribe(o=Re(r,d=>r.next(n?n(c,d,u,l++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}function ZE(e,n){return e===n}function ae(e){for(let n in e)if(e[n]===ae)return n;throw Error("Could not find renamed property on target object.")}function js(e,n){for(const t in n)n.hasOwnProperty(t)&&!e.hasOwnProperty(t)&&(e[t]=n[t])}function ke(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(ke).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const n=e.toString();if(null==n)return""+n;const t=n.indexOf("\n");return-1===t?n:n.substring(0,t)}function Pl(e,n){return null==e||""===e?null===n?"":n:null==n||""===n?e:e+" "+n}const YE=ae({__forward_ref__:ae});function ge(e){return e.__forward_ref__=ge,e.toString=function(){return ke(this())},e}function $(e){return Ol(e)?e():e}function Ol(e){return"function"==typeof e&&e.hasOwnProperty(YE)&&e.__forward_ref__===ge}function Rl(e){return e&&!!e.\u0275providers}const yp="https://g.co/ng/security#xss";class M extends Error{constructor(n,t){super(function Bs(e,n){return`NG0${Math.abs(e)}${n?": "+n:""}`}(n,t)),this.code=n}}function U(e){return"string"==typeof e?e:null==e?"":String(e)}function Nl(e,n){throw new M(-201,!1)}function Nt(e,n){null==e&&function V(e,n,t,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${t} ${r} ${n} <=Actual]`))}(n,e,null,"!=")}function R(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Ze(e){return{providers:e.providers||[],imports:e.imports||[]}}function $s(e){return Cp(e,Hs)||Cp(e,_p)}function Cp(e,n){return e.hasOwnProperty(n)?e[n]:null}function Us(e){return e&&(e.hasOwnProperty(Fl)||e.hasOwnProperty(rM))?e[Fl]:null}const Hs=ae({\u0275prov:ae}),Fl=ae({\u0275inj:ae}),_p=ae({ngInjectableDef:ae}),rM=ae({ngInjectorDef:ae});var K=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(K||{});let kl;function ht(e){const n=kl;return kl=e,n}function Dp(e,n,t){const r=$s(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:t&K.Optional?null:void 0!==n?n:void Nl(ke(e))}const me=globalThis;class T{constructor(n,t){this._desc=n,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.\u0275prov=R({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const oi={},$l="__NG_DI_FLAG__",zs="ngTempTokenPath",sM=/\n/gm,Ep="__source";let Lr;function jn(e){const n=Lr;return Lr=e,n}function lM(e,n=K.Default){if(void 0===Lr)throw new M(-203,!1);return null===Lr?Dp(e,void 0,n):Lr.get(e,n&K.Optional?null:void 0,n)}function A(e,n=K.Default){return(function bp(){return kl}()||lM)($(e),n)}function P(e,n=K.Default){return A(e,Gs(n))}function Gs(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function Ul(e){const n=[];for(let t=0;tn){s=i-1;break}}}for(;ii?"":o[d+1].toLowerCase();const g=8&r?f:null;if(g&&-1!==Ap(g,l,0)||2&r&&l!==f){if(Ht(r))return!1;s=!0}}}}else{if(!s&&!Ht(r)&&!Ht(c))return!1;if(s&&Ht(c))continue;s=!1,r=c|1&r}}return Ht(r)||s}function Ht(e){return 0==(1&e)}function mM(e,n,t,r){if(null===n)return-1;let o=0;if(r||!t){let i=!1;for(;o-1)for(t++;t0?'="'+a+'"':"")+"]"}else 8&r?o+="."+s:4&r&&(o+=" "+s);else""!==o&&!Ht(s)&&(n+=Fp(i,o),o=""),r=s,i=i||!Ht(r);t++}return""!==o&&(n+=Fp(i,o)),n}function Ft(e){return yn(()=>{const n=Lp(e),t={...n,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===qs.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Ut.Emulated,styles:e.styles||re,_:null,schemas:e.schemas||null,tView:null,id:""};Vp(t);const r=e.dependencies;return t.directiveDefs=Zs(r,!1),t.pipeDefs=Zs(r,!0),t.id=function TM(e){let n=0;const t=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const o of t)n=Math.imul(31,n)+o.charCodeAt(0)<<0;return n+=2147483648,"c"+n}(t),t})}function MM(e){return J(e)||Ue(e)}function SM(e){return null!==e}function et(e){return yn(()=>({type:e.type,bootstrap:e.bootstrap||re,declarations:e.declarations||re,imports:e.imports||re,exports:e.exports||re,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function kp(e,n){if(null==e)return en;const t={};for(const r in e)if(e.hasOwnProperty(r)){let o=e[r],i=o;Array.isArray(o)&&(i=o[1],o=o[0]),t[o]=r,n&&(n[o]=i)}return t}function j(e){return yn(()=>{const n=Lp(e);return Vp(n),n})}function tt(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function J(e){return e[Ws]||null}function Ue(e){return e[Hl]||null}function nt(e){return e[zl]||null}function Et(e,n){const t=e[Sp]||null;if(!t&&!0===n)throw new Error(`Type ${ke(e)} does not have '\u0275mod' property.`);return t}function Lp(e){const n={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:n,inputTransforms:null,inputConfig:e.inputs||en,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||re,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:kp(e.inputs,n),outputs:kp(e.outputs)}}function Vp(e){e.features?.forEach(n=>n(e))}function Zs(e,n){if(!e)return null;const t=n?nt:MM;return()=>("function"==typeof e?e():e).map(r=>t(r)).filter(SM)}const Me=0,x=1,W=2,be=3,zt=4,ci=5,Ye=6,jr=7,xe=8,Bn=9,Br=10,H=11,li=12,jp=13,$r=14,Pe=15,ui=16,Ur=17,tn=18,di=19,Bp=20,$n=21,_n=22,fi=23,hi=24,X=25,ql=1,$p=2,nn=7,Hr=9,He=11;function pt(e){return Array.isArray(e)&&"object"==typeof e[ql]}function rt(e){return Array.isArray(e)&&!0===e[ql]}function Wl(e){return 0!=(4&e.flags)}function ur(e){return e.componentOffset>-1}function Qs(e){return 1==(1&e.flags)}function Gt(e){return!!e.template}function Zl(e){return 0!=(512&e[W])}function dr(e,n){return e.hasOwnProperty(Cn)?e[Cn]:null}const Un=Symbol("SIGNAL");function zp(e,n){return(null===e||"object"!=typeof e)&&Object.is(e,n)}let ze=null,Ks=!1;function kt(e){const n=ze;return ze=e,n}const Xs={version:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{}};function Gp(e){if(Ks)throw new Error("");if(null===ze)return;const n=ze.nextProducerIndex++;zr(ze),ne.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function Yp(e){zr(e);for(let n=0;n0}function zr(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}function Xp(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}const Ql=Symbol("UNSET"),Kl=Symbol("COMPUTING"),na=Symbol("ERRORED"),FM=(()=>({...Xs,value:Ql,dirty:!0,error:null,equal:zp,producerMustRecompute:e=>e.value===Ql||e.value===Kl,producerRecomputeValue(e){if(e.value===Kl)throw new Error("Detected cycle in computations.");const n=e.value;e.value=Kl;const t=Js(e);let r;try{r=e.computation()}catch(o){r=na,e.error=o}finally{ea(e,t)}n!==Ql&&n!==na&&r!==na&&e.equal(n,r)?e.value=n:(e.value=r,e.version++)}}))();let Jp=function kM(){throw new Error};function Xl(){Jp()}let Jl=null;function Hn(e,n){const t=Object.create(VM);function r(){return Gp(t),t.value}return t.value=e,n?.equal&&(t.equal=n.equal),r.set=tg,r.update=jM,r.mutate=BM,r.asReadonly=$M,r[Un]=t,r}const VM=(()=>({...Xs,equal:zp,readonlyFn:void 0}))();function eg(e){e.version++,Wp(e),Jl?.()}function tg(e){const n=this[Un];Yl()||Xl(),n.equal(n.value,e)||(n.value=e,eg(n))}function jM(e){Yl()||Xl(),tg.call(this,e(this[Un].value))}function BM(e){const n=this[Un];Yl()||Xl(),e(n.value),eg(n)}function $M(){const e=this[Un];if(void 0===e.readonlyFn){const n=()=>this();n[Un]=e,e.readonlyFn=n}return e.readonlyFn}const rg=()=>{},HM=(()=>({...Xs,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{e.schedule(e.ref)},hasRun:!1,cleanupFn:rg}))();class zM{constructor(n,t,r){this.previousValue=n,this.currentValue=t,this.firstChange=r}isFirstChange(){return this.firstChange}}function ot(){return og}function og(e){return e.type.prototype.ngOnChanges&&(e.setInput=qM),GM}function GM(){const e=sg(this),n=e?.current;if(n){const t=e.previous;if(t===en)e.previous=n;else for(let r in n)t[r]=n[r];e.current=null,this.ngOnChanges(n)}}function qM(e,n,t,r){const o=this.declaredInputs[t],i=sg(e)||function WM(e,n){return e[ig]=n}(e,{previous:en,current:null}),s=i.current||(i.current={}),a=i.previous,c=a[o];s[o]=new zM(c&&c.currentValue,n,a===en),e[r]=n}ot.ngInherit=!0;const ig="__ngSimpleChanges__";function sg(e){return e[ig]||null}const rn=function(e,n,t){};function ve(e){for(;Array.isArray(e);)e=e[Me];return e}function ra(e,n){return ve(n[e])}function gt(e,n){return ve(n[e.index])}function lg(e,n){return e.data[n]}function Gr(e,n){return e[n]}function Mt(e,n){const t=n[e];return pt(t)?t:t[Me]}function zn(e,n){return null==n?null:e[n]}function ug(e){e[Ur]=0}function JM(e){1024&e[W]||(e[W]|=1024,fg(e,1))}function dg(e){1024&e[W]&&(e[W]&=-1025,fg(e,-1))}function fg(e,n){let t=e[be];if(null===t)return;t[ci]+=n;let r=t;for(t=t[be];null!==t&&(1===n&&1===r[ci]||-1===n&&0===r[ci]);)t[ci]+=n,r=t,t=t[be]}const B={lFrame:wg(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function gg(){return B.bindingsEnabled}function w(){return B.lFrame.lView}function ee(){return B.lFrame.tView}function fe(e){return B.lFrame.contextLView=e,e[xe]}function he(e){return B.lFrame.contextLView=null,e}function Ge(){let e=mg();for(;null!==e&&64===e.type;)e=e.parent;return e}function mg(){return B.lFrame.currentTNode}function on(e,n){const t=B.lFrame;t.currentTNode=e,t.isParent=n}function nu(){return B.lFrame.isParent}function it(){const e=B.lFrame;let n=e.bindingRootIndex;return-1===n&&(n=e.bindingRootIndex=e.tView.bindingStartIndex),n}function Wr(){return B.lFrame.bindingIndex++}function dS(e,n){const t=B.lFrame;t.bindingIndex=t.bindingRootIndex=e,ou(n)}function ou(e){B.lFrame.currentDirectiveIndex=e}function _g(){return B.lFrame.currentQueryIndex}function su(e){B.lFrame.currentQueryIndex=e}function hS(e){const n=e[x];return 2===n.type?n.declTNode:1===n.type?e[Ye]:null}function bg(e,n,t){if(t&K.SkipSelf){let o=n,i=e;for(;!(o=o.parent,null!==o||t&K.Host||(o=hS(i),null===o||(i=i[$r],10&o.type))););if(null===o)return!1;n=o,e=i}const r=B.lFrame=Dg();return r.currentTNode=n,r.lView=e,!0}function au(e){const n=Dg(),t=e[x];B.lFrame=n,n.currentTNode=t.firstChild,n.lView=e,n.tView=t,n.contextLView=e,n.bindingIndex=t.bindingStartIndex,n.inI18n=!1}function Dg(){const e=B.lFrame,n=null===e?null:e.child;return null===n?wg(e):n}function wg(e){const n={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=n),n}function Eg(){const e=B.lFrame;return B.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Mg=Eg;function cu(){const e=Eg();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function st(){return B.lFrame.selectedIndex}function fr(e){B.lFrame.selectedIndex=e}function Ee(){const e=B.lFrame;return lg(e.tView,e.selectedIndex)}let Ig=!0;function oa(){return Ig}function Gn(e){Ig=e}function ia(e,n){for(let t=n.directiveStart,r=n.directiveEnd;t=r)break}else n[c]<0&&(e[Ur]+=65536),(a>13>16&&(3&e[W])===n&&(e[W]+=8192,Tg(a,i)):Tg(a,i)}const Zr=-1;class vi{constructor(n,t,r){this.factory=n,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=r}}function du(e){return e!==Zr}function yi(e){return 32767&e}function Ci(e,n){let t=function MS(e){return e>>16}(e),r=n;for(;t>0;)r=r[$r],t--;return r}let fu=!0;function ca(e){const n=fu;return fu=e,n}const xg=255,Pg=5;let SS=0;const sn={};function la(e,n){const t=Og(e,n);if(-1!==t)return t;const r=n[x];r.firstCreatePass&&(e.injectorIndex=n.length,hu(r.data,e),hu(n,null),hu(r.blueprint,null));const o=ua(e,n),i=e.injectorIndex;if(du(o)){const s=yi(o),a=Ci(o,n),c=a[x].data;for(let l=0;l<8;l++)n[i+l]=a[s+l]|c[s+l]}return n[i+8]=o,i}function hu(e,n){e.push(0,0,0,0,0,0,0,0,n)}function Og(e,n){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===n[e.injectorIndex+8]?-1:e.injectorIndex}function ua(e,n){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let t=0,r=null,o=n;for(;null!==o;){if(r=jg(o),null===r)return Zr;if(t++,o=o[$r],-1!==r.injectorIndex)return r.injectorIndex|t<<16}return Zr}function pu(e,n,t){!function IS(e,n,t){let r;"string"==typeof t?r=t.charCodeAt(0)||0:t.hasOwnProperty(si)&&(r=t[si]),null==r&&(r=t[si]=SS++);const o=r&xg;n.data[e+(o>>Pg)]|=1<=0?n&xg:OS:n}(t);if("function"==typeof i){if(!bg(n,e,r))return r&K.Host?Rg(o,0,r):Ng(n,t,r,o);try{let s;if(s=i(r),null!=s||r&K.Optional)return s;Nl()}finally{Mg()}}else if("number"==typeof i){let s=null,a=Og(e,n),c=Zr,l=r&K.Host?n[Pe][Ye]:null;for((-1===a||r&K.SkipSelf)&&(c=-1===a?ua(e,n):n[a+8],c!==Zr&&Vg(r,!1)?(s=n[x],a=yi(c),n=Ci(c,n)):a=-1);-1!==a;){const u=n[x];if(Lg(i,a,u.data)){const d=TS(a,n,t,s,r,l);if(d!==sn)return d}c=n[a+8],c!==Zr&&Vg(r,n[x].data[a+8]===l)&&Lg(i,a,n)?(s=u,a=yi(c),n=Ci(c,n)):a=-1}}return o}function TS(e,n,t,r,o,i){const s=n[x],a=s.data[e+8],u=da(a,s,t,null==r?ur(a)&&fu:r!=s&&0!=(3&a.type),o&K.Host&&i===a);return null!==u?hr(n,s,u,a):sn}function da(e,n,t,r,o){const i=e.providerIndexes,s=n.data,a=1048575&i,c=e.directiveStart,u=i>>20,f=o?a+u:e.directiveEnd;for(let g=r?a:a+u;g=c&&v.type===t)return g}if(o){const g=s[c];if(g&&Gt(g)&&g.type===t)return c}return null}function hr(e,n,t,r){let o=e[t];const i=n.data;if(function DS(e){return e instanceof vi}(o)){const s=o;s.resolving&&function QE(e,n){const t=n?`. Dependency path: ${n.join(" > ")} > ${e}`:"";throw new M(-200,`Circular dependency in DI detected for ${e}${t}`)}(function se(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():U(e)}(i[t]));const a=ca(s.canSeeViewProviders);s.resolving=!0;const l=s.injectImpl?ht(s.injectImpl):null;bg(e,r,K.Default);try{o=e[t]=s.factory(void 0,i,e,r),n.firstCreatePass&&t>=r.directiveStart&&function _S(e,n,t){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=n.type.prototype;if(r){const s=og(n);(t.preOrderHooks??=[]).push(e,s),(t.preOrderCheckHooks??=[]).push(e,s)}o&&(t.preOrderHooks??=[]).push(0-e,o),i&&((t.preOrderHooks??=[]).push(e,i),(t.preOrderCheckHooks??=[]).push(e,i))}(t,i[t],n)}finally{null!==l&&ht(l),ca(a),s.resolving=!1,Mg()}}return o}function Lg(e,n,t){return!!(t[n+(e>>Pg)]&1<{const n=e.prototype.constructor,t=n[Cn]||gu(n),r=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){const i=o[Cn]||gu(o);if(i&&i!==t)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function gu(e){return Ol(e)?()=>{const n=gu($(e));return n&&n()}:dr(e)}function jg(e){const n=e[x],t=n.type;return 2===t?n.declTNode:1===t?e[Ye]:null}const Qr="__parameters__";function Xr(e,n,t){return yn(()=>{const r=function mu(e){return function(...t){if(e){const r=e(...t);for(const o in r)this[o]=r[o]}}}(n);function o(...i){if(this instanceof o)return r.apply(this,i),this;const s=new o(...i);return a.annotation=s,a;function a(c,l,u){const d=c.hasOwnProperty(Qr)?c[Qr]:Object.defineProperty(c,Qr,{value:[]})[Qr];for(;d.length<=u;)d.push(null);return(d[u]=d[u]||[]).push(s),c}}return t&&(o.prototype=Object.create(t.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}function eo(e,n){e.forEach(t=>Array.isArray(t)?eo(t,n):n(t))}function $g(e,n,t){n>=e.length?e.push(t):e.splice(n,0,t)}function ha(e,n){return n>=e.length-1?e.pop():e.splice(n,1)[0]}function St(e,n,t){let r=to(e,n);return r>=0?e[1|r]=t:(r=~r,function BS(e,n,t,r){let o=e.length;if(o==n)e.push(t,r);else if(1===o)e.push(r,e[0]),e[0]=t;else{for(o--,e.push(e[o-1],e[o]);o>n;)e[o]=e[o-2],o--;e[n]=t,e[n+1]=r}}(e,r,n,t)),r}function vu(e,n){const t=to(e,n);if(t>=0)return e[1|t]}function to(e,n){return function Ug(e,n,t){let r=0,o=e.length>>t;for(;o!==r;){const i=r+(o-r>>1),s=e[i<n?o=i:r=i+1}return~(o<0&&(e[t-1][zt]=r[zt]);const i=ha(e,He+n);!function wI(e,n){Ii(e,n,n[H],2,null,null),n[Me]=null,n[Ye]=null}(r[x],r);const s=i[tn];null!==s&&s.detachView(i[x]),r[be]=null,r[zt]=null,r[W]&=-129}return r}function Au(e,n){if(!(256&n[W])){const t=n[H];n[fi]&&Qp(n[fi]),n[hi]&&Qp(n[hi]),t.destroyNode&&Ii(e,n,t,3,null,null),function SI(e){let n=e[li];if(!n)return Tu(e[x],e);for(;n;){let t=null;if(pt(n))t=n[li];else{const r=n[He];r&&(t=r)}if(!t){for(;n&&!n[zt]&&n!==e;)pt(n)&&Tu(n[x],n),n=n[be];null===n&&(n=e),pt(n)&&Tu(n[x],n),t=n&&n[zt]}n=t}}(n)}}function Tu(e,n){if(!(256&n[W])){n[W]&=-129,n[W]|=256,function xI(e,n){let t;if(null!=e&&null!=(t=e.destroyHooks))for(let r=0;r=0?r[s]():r[-s].unsubscribe(),i+=2}else t[i].call(r[t[i+1]]);null!==r&&(n[jr]=null);const o=n[$n];if(null!==o){n[$n]=null;for(let i=0;i-1){const{encapsulation:i}=e.data[r.directiveStart+o];if(i===Ut.None||i===Ut.Emulated)return null}return gt(r,t)}}(e,n.parent,t)}function pr(e,n,t,r,o){e.insertBefore(n,t,r,o)}function pm(e,n,t){e.appendChild(n,t)}function gm(e,n,t,r,o){null!==r?pr(e,n,t,r,o):pm(e,n,t)}function Sa(e,n){return e.parentNode(n)}let Pu,Ta,Fu,xa,ym=function vm(e,n,t){return 40&e.type?gt(e,t):null};function Ia(e,n,t,r){const o=xu(e,r,n),i=n[H],a=function mm(e,n,t){return ym(e,n,t)}(r.parent||n[Ye],r,n);if(null!=o)if(Array.isArray(t))for(let c=0;ce,createScript:e=>e,createScriptURL:e=>e})}catch{}return Ta}()?.createHTML(e)||e}function so(){if(void 0!==Fu)return Fu;if(typeof document<"u")return document;throw new M(210,!1)}function ku(){if(void 0===xa&&(xa=null,me.trustedTypes))try{xa=me.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return xa}function Mm(e){return ku()?.createHTML(e)||e}function Im(e){return ku()?.createScriptURL(e)||e}class Am{constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${yp})`}}function Wn(e){return e instanceof Am?e.changingThisBreaksApplicationSecurity:e}function Ai(e,n){const t=function qI(e){return e instanceof Am&&e.getTypeName()||null}(e);if(null!=t&&t!==n){if("ResourceURL"===t&&"URL"===n)return!0;throw new Error(`Required a safe ${n}, got a ${t} (see ${yp})`)}return t===n}class WI{constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n=""+n;try{const t=(new window.DOMParser).parseFromString(io(n),"text/html").body;return null===t?this.inertDocumentHelper.getInertBodyElement(n):(t.removeChild(t.firstChild),t)}catch{return null}}}class ZI{constructor(n){this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(n){const t=this.inertDocument.createElement("template");return t.innerHTML=io(n),t}}const QI=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Lu(e){return(e=String(e)).match(QI)?e:"unsafe:"+e}function wn(e){const n={};for(const t of e.split(","))n[t]=!0;return n}function Ti(...e){const n={};for(const t of e)for(const r in t)t.hasOwnProperty(r)&&(n[r]=!0);return n}const xm=wn("area,br,col,hr,img,wbr"),Pm=wn("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Om=wn("rp,rt"),Vu=Ti(xm,Ti(Pm,wn("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),Ti(Om,wn("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Ti(Om,Pm)),ju=wn("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Rm=Ti(ju,wn("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),wn("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),KI=wn("script,style,template");class XI{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(n){let t=n.firstChild,r=!0;for(;t;)if(t.nodeType===Node.ELEMENT_NODE?r=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,r&&t.firstChild)t=t.firstChild;else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let o=this.checkClobberedElement(t,t.nextSibling);if(o){t=o;break}t=this.checkClobberedElement(t,t.parentNode)}return this.buf.join("")}startElement(n){const t=n.nodeName.toLowerCase();if(!Vu.hasOwnProperty(t))return this.sanitizedSomething=!0,!KI.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);const r=n.attributes;for(let o=0;o"),!0}endElement(n){const t=n.nodeName.toLowerCase();Vu.hasOwnProperty(t)&&!xm.hasOwnProperty(t)&&(this.buf.push(""))}chars(n){this.buf.push(Nm(n))}checkClobberedElement(n,t){if(t&&(n.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${n.outerHTML}`);return t}}const JI=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,eA=/([^\#-~ |!])/g;function Nm(e){return e.replace(/&/g,"&").replace(JI,function(n){return"&#"+(1024*(n.charCodeAt(0)-55296)+(n.charCodeAt(1)-56320)+65536)+";"}).replace(eA,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(//g,">")}let Pa;function Bu(e){return"content"in e&&function nA(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var ao=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(ao||{});function Zn(e){const n=xi();return n?Mm(n.sanitize(ao.HTML,e)||""):Ai(e,"HTML")?Mm(Wn(e)):function tA(e,n){let t=null;try{Pa=Pa||function Tm(e){const n=new ZI(e);return function YI(){try{return!!(new window.DOMParser).parseFromString(io(""),"text/html")}catch{return!1}}()?new WI(n):n}(e);let r=n?String(n):"";t=Pa.getInertBodyElement(r);let o=5,i=r;do{if(0===o)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=t.innerHTML,t=Pa.getInertBodyElement(r)}while(r!==i);return io((new XI).sanitizeChildren(Bu(t)||t))}finally{if(t){const r=Bu(t)||t;for(;r.firstChild;)r.removeChild(r.firstChild)}}}(so(),U(e))}function Oa(e){const n=xi();return n?n.sanitize(ao.URL,e)||"":Ai(e,"URL")?Wn(e):Lu(U(e))}function Fm(e){const n=xi();if(n)return Im(n.sanitize(ao.RESOURCE_URL,e)||"");if(Ai(e,"ResourceURL"))return Im(Wn(e));throw new M(904,!1)}function xi(){const e=w();return e&&e[Br].sanitizer}const Pi=new T("ENVIRONMENT_INITIALIZER"),Lm=new T("INJECTOR",-1),Vm=new T("INJECTOR_DEF_TYPES");class $u{get(n,t=oi){if(t===oi){const r=new Error(`NullInjectorError: No provider for ${ke(n)}!`);throw r.name="NullInjectorError",r}return t}}function cA(...e){return{\u0275providers:jm(0,e),\u0275fromNgModule:!0}}function jm(e,...n){const t=[],r=new Set;let o;const i=s=>{t.push(s)};return eo(n,s=>{const a=s;Ra(a,i,[],r)&&(o||=[],o.push(a))}),void 0!==o&&Bm(o,i),t}function Bm(e,n){for(let t=0;t{n(i,r)})}}function Ra(e,n,t,r){if(!(e=$(e)))return!1;let o=null,i=Us(e);const s=!i&&J(e);if(i||s){if(s&&!s.standalone)return!1;o=e}else{const c=e.ngModule;if(i=Us(c),!i)return!1;o=c}const a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){const c="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const l of c)Ra(l,n,t,r)}}else{if(!i)return!1;{if(null!=i.imports&&!a){let l;r.add(o);try{eo(i.imports,u=>{Ra(u,n,t,r)&&(l||=[],l.push(u))})}finally{}void 0!==l&&Bm(l,n)}if(!a){const l=dr(o)||(()=>new o);n({provide:o,useFactory:l,deps:re},o),n({provide:Vm,useValue:o,multi:!0},o),n({provide:Pi,useValue:()=>A(o),multi:!0},o)}const c=i.providers;if(null!=c&&!a){const l=e;Hu(c,u=>{n(u,l)})}}}return o!==e&&void 0!==e.providers}function Hu(e,n){for(let t of e)Rl(t)&&(t=t.\u0275providers),Array.isArray(t)?Hu(t,n):n(t)}const lA=ae({provide:String,useValue:ae});function zu(e){return null!==e&&"object"==typeof e&&lA in e}function gr(e){return"function"==typeof e}const Gu=new T("Set Injector scope."),Na={},dA={};let qu;function Fa(){return void 0===qu&&(qu=new $u),qu}class It{}class co extends It{get destroyed(){return this._destroyed}constructor(n,t,r,o){super(),this.parent=t,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Zu(n,s=>this.processProvider(s)),this.records.set(Lm,lo(void 0,this)),o.has("environment")&&this.records.set(It,lo(void 0,this));const i=this.records.get(Gu);null!=i&&"string"==typeof i.value&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(Vm.multi,re,K.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();const n=this._onDestroyHooks;this._onDestroyHooks=[];for(const t of n)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(n){return this.assertNotDestroyed(),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){this.assertNotDestroyed();const t=jn(this),r=ht(void 0);try{return n()}finally{jn(t),ht(r)}}get(n,t=oi,r=K.Default){if(this.assertNotDestroyed(),n.hasOwnProperty(Ip))return n[Ip](this);r=Gs(r);const i=jn(this),s=ht(void 0);try{if(!(r&K.SkipSelf)){let c=this.records.get(n);if(void 0===c){const l=function mA(e){return"function"==typeof e||"object"==typeof e&&e instanceof T}(n)&&$s(n);c=l&&this.injectableDefInScope(l)?lo(Wu(n),Na):null,this.records.set(n,c)}if(null!=c)return this.hydrate(n,c)}return(r&K.Self?Fa():this.parent).get(n,t=r&K.Optional&&t===oi?null:t)}catch(a){if("NullInjectorError"===a.name){if((a[zs]=a[zs]||[]).unshift(ke(n)),i)throw a;return function dM(e,n,t,r){const o=e[zs];throw n[Ep]&&o.unshift(n[Ep]),e.message=function fM(e,n,t,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let o=ke(n);if(Array.isArray(n))o=n.map(ke).join(" -> ");else if("object"==typeof n){let i=[];for(let s in n)if(n.hasOwnProperty(s)){let a=n[s];i.push(s+":"+("string"==typeof a?JSON.stringify(a):ke(a)))}o=`{${i.join(", ")}}`}return`${t}${r?"("+r+")":""}[${o}]: ${e.replace(sM,"\n ")}`}("\n"+e.message,o,t,r),e.ngTokenPath=o,e[zs]=null,e}(a,n,"R3InjectorError",this.source)}throw a}finally{ht(s),jn(i)}}resolveInjectorInitializers(){const n=jn(this),t=ht(void 0);try{const o=this.get(Pi.multi,re,K.Self);for(const i of o)i()}finally{jn(n),ht(t)}}toString(){const n=[],t=this.records;for(const r of t.keys())n.push(ke(r));return`R3Injector[${n.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new M(205,!1)}processProvider(n){let t=gr(n=$(n))?n:$(n&&n.provide);const r=function hA(e){return zu(e)?lo(void 0,e.useValue):lo(Hm(e),Na)}(n);if(gr(n)||!0!==n.multi)this.records.get(t);else{let o=this.records.get(t);o||(o=lo(void 0,Na,!0),o.factory=()=>Ul(o.multi),this.records.set(t,o)),t=n,o.multi.push(n)}this.records.set(t,r)}hydrate(n,t){return t.value===Na&&(t.value=dA,t.value=t.factory()),"object"==typeof t.value&&t.value&&function gA(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}injectableDefInScope(n){if(!n.providedIn)return!1;const t=$(n.providedIn);return"string"==typeof t?"any"===t||this.scopes.has(t):this.injectorDefTypes.has(t)}removeOnDestroy(n){const t=this._onDestroyHooks.indexOf(n);-1!==t&&this._onDestroyHooks.splice(t,1)}}function Wu(e){const n=$s(e),t=null!==n?n.factory:dr(e);if(null!==t)return t;if(e instanceof T)throw new M(204,!1);if(e instanceof Function)return function fA(e){const n=e.length;if(n>0)throw function Di(e,n){const t=[];for(let r=0;rt.factory(e):()=>new e}(e);throw new M(204,!1)}function Hm(e,n,t){let r;if(gr(e)){const o=$(e);return dr(o)||Wu(o)}if(zu(e))r=()=>$(e.useValue);else if(function Um(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...Ul(e.deps||[]));else if(function $m(e){return!(!e||!e.useExisting)}(e))r=()=>A($(e.useExisting));else{const o=$(e&&(e.useClass||e.provide));if(!function pA(e){return!!e.deps}(e))return dr(o)||Wu(o);r=()=>new o(...Ul(e.deps))}return r}function lo(e,n,t=!1){return{factory:e,value:n,multi:t?[]:void 0}}function Zu(e,n){for(const t of e)Array.isArray(t)?Zu(t,n):t&&Rl(t)?Zu(t.\u0275providers,n):n(t)}const ka=new T("AppId",{providedIn:"root",factory:()=>vA}),vA="ng",zm=new T("Platform Initializer"),Yn=new T("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),Gm=new T("CSP nonce",{providedIn:"root",factory:()=>so().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let qm=(e,n,t)=>null;function nd(e,n,t=!1){return qm(e,n,t)}class IA{}class Ym{}class TA{resolveComponentFactory(n){throw function AA(e){const n=Error(`No component factory found for ${ke(e)}.`);return n.ngComponent=e,n}(n)}}let Ua=(()=>{class e{static{this.NULL=new TA}}return e})();function xA(){return ho(Ge(),w())}function ho(e,n){return new vt(gt(e,n))}let vt=(()=>{class e{constructor(t){this.nativeElement=t}static{this.__NG_ELEMENT_ID__=xA}}return e})();function PA(e){return e instanceof vt?e.nativeElement:e}class Km{}let En=(()=>{class e{constructor(){this.destroyNode=null}static{this.__NG_ELEMENT_ID__=()=>function OA(){const e=w(),t=Mt(Ge().index,e);return(pt(t)?t:e)[H]}()}}return e})(),RA=(()=>{class e{static{this.\u0275prov=R({token:e,providedIn:"root",factory:()=>null})}}return e})();class Ni{constructor(n){this.full=n,this.major=n.split(".")[0],this.minor=n.split(".")[1],this.patch=n.split(".").slice(2).join(".")}}const NA=new Ni("16.2.12"),id={};function tv(e,n=null,t=null,r){const o=nv(e,n,t,r);return o.resolveInjectorInitializers(),o}function nv(e,n=null,t=null,r,o=new Set){const i=[t||re,cA(e)];return r=r||("object"==typeof e?void 0:ke(e)),new co(i,n||Fa(),r||null,o)}let At=(()=>{class e{static{this.THROW_IF_NOT_FOUND=oi}static{this.NULL=new $u}static create(t,r){if(Array.isArray(t))return tv({name:""},r,t,"");{const o=t.name??"";return tv({name:o},t.parent,t.providers,o)}}static{this.\u0275prov=R({token:e,providedIn:"any",factory:()=>A(Lm)})}static{this.__NG_ELEMENT_ID__=-1}}return e})();function ad(e){return e.ngOriginalError}class Mn{constructor(){this._console=console}handleError(n){const t=this._findOriginalError(n);this._console.error("ERROR",n),t&&this._console.error("ORIGINAL ERROR",t)}_findOriginalError(n){let t=n&&ad(n);for(;t&&ad(t);)t=ad(t);return t||null}}function cd(e){return n=>{setTimeout(e,void 0,n)}}const Se=class UA extends ft{constructor(n=!1){super(),this.__isAsync=n}emit(n){super.next(n)}subscribe(n,t,r){let o=n,i=t||(()=>null),s=r;if(n&&"object"==typeof n){const c=n;o=c.next?.bind(c),i=c.error?.bind(c),s=c.complete?.bind(c)}this.__isAsync&&(i=cd(i),o&&(o=cd(o)),s&&(s=cd(s)));const a=super.subscribe({next:o,error:i,complete:s});return n instanceof bt&&n.add(a),a}};function ov(...e){}class ce{constructor({enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:t=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Se(!1),this.onMicrotaskEmpty=new Se(!1),this.onStable=new Se(!1),this.onError=new Se(!1),typeof Zone>"u")throw new M(908,!1);Zone.assertZonePatched();const o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&t,o.shouldCoalesceRunChangeDetection=r,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function HA(){const e="function"==typeof me.requestAnimationFrame;let n=me[e?"requestAnimationFrame":"setTimeout"],t=me[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&n&&t){const r=n[Zone.__symbol__("OriginalDelegate")];r&&(n=r);const o=t[Zone.__symbol__("OriginalDelegate")];o&&(t=o)}return{nativeRequestAnimationFrame:n,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function qA(e){const n=()=>{!function GA(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(me,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,ud(e),e.isCheckStableRunning=!0,ld(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),ud(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(t,r,o,i,s,a)=>{if(function ZA(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(a))return t.invokeTask(o,i,s,a);try{return iv(e),t.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||e.shouldCoalesceRunChangeDetection)&&n(),sv(e)}},onInvoke:(t,r,o,i,s,a,c)=>{try{return iv(e),t.invoke(o,i,s,a,c)}finally{e.shouldCoalesceRunChangeDetection&&n(),sv(e)}},onHasTask:(t,r,o,i)=>{t.hasTask(o,i),r===o&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,ud(e),ld(e)):"macroTask"==i.change&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(t,r,o,i)=>(t.handleError(o,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}(o)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!ce.isInAngularZone())throw new M(909,!1)}static assertNotInAngularZone(){if(ce.isInAngularZone())throw new M(909,!1)}run(n,t,r){return this._inner.run(n,t,r)}runTask(n,t,r,o){const i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,n,zA,ov,ov);try{return i.runTask(s,t,r)}finally{i.cancelTask(s)}}runGuarded(n,t,r){return this._inner.runGuarded(n,t,r)}runOutsideAngular(n){return this._outer.run(n)}}const zA={};function ld(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function ud(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function iv(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function sv(e){e._nesting--,ld(e)}class WA{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Se,this.onMicrotaskEmpty=new Se,this.onStable=new Se,this.onError=new Se}run(n,t,r){return n.apply(t,r)}runGuarded(n,t,r){return n.apply(t,r)}runOutsideAngular(n){return n()}runTask(n,t,r,o){return n.apply(t,r)}}const av=new T("",{providedIn:"root",factory:cv});function cv(){const e=P(ce);let n=!0;return function qE(...e){const n=ri(e),t=function jE(e,n){return"number"==typeof Tl(e)?e.pop():n}(e,1/0),r=e;return r.length?1===r.length?Rt(r[0]):kr(t)(Te(r,n)):Jt}(new Ae(o=>{n=e.isStable&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks,e.runOutsideAngular(()=>{o.next(n),o.complete()})}),new Ae(o=>{let i;e.runOutsideAngular(()=>{i=e.onStable.subscribe(()=>{ce.assertNotInAngularZone(),queueMicrotask(()=>{!n&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks&&(n=!0,o.next(!0))})})});const s=e.onUnstable.subscribe(()=>{ce.assertInAngularZone(),n&&(n=!1,e.runOutsideAngular(()=>{o.next(!1)}))});return()=>{i.unsubscribe(),s.unsubscribe()}}).pipe(vp()))}function lv(e){return e.ownerDocument.defaultView}function Sn(e){return e instanceof Function?e():e}let dd=(()=>{class e{constructor(){this.renderDepth=0,this.handler=null}begin(){this.handler?.validateBegin(),this.renderDepth++}end(){this.renderDepth--,0===this.renderDepth&&this.handler?.execute()}ngOnDestroy(){this.handler?.destroy(),this.handler=null}static{this.\u0275prov=R({token:e,providedIn:"root",factory:()=>new e})}}return e})();function Fi(e){for(;e;){e[W]|=64;const n=Mi(e);if(Zl(e)&&!n)return e;e=n}return null}const pv=new T("",{providedIn:"root",factory:()=>!1});let Ga=null;function yv(e,n){return e[n]??bv()}function Cv(e,n){const t=bv();t.producerNode?.length&&(e[n]=Ga,t.lView=e,Ga=_v())}const r1={...Xs,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{Fi(e.lView)},lView:null};function _v(){return Object.create(r1)}function bv(){return Ga??=_v(),Ga}const z={};function D(e){Dv(ee(),w(),st()+e,!1)}function Dv(e,n,t,r){if(!r)if(3==(3&n[W])){const i=e.preOrderCheckHooks;null!==i&&sa(n,i,t)}else{const i=e.preOrderHooks;null!==i&&aa(n,i,0,t)}fr(t)}function C(e,n=K.Default){const t=w();return null===t?A(e,n):Fg(Ge(),t,$(e),n)}function qa(e,n,t,r,o,i,s,a,c,l,u){const d=n.blueprint.slice();return d[Me]=o,d[W]=140|r,(null!==l||e&&2048&e[W])&&(d[W]|=2048),ug(d),d[be]=d[$r]=e,d[xe]=t,d[Br]=s||e&&e[Br],d[H]=a||e&&e[H],d[Bn]=c||e&&e[Bn]||null,d[Ye]=i,d[di]=function dI(){return uI++}(),d[_n]=u,d[Bp]=l,d[Pe]=2==n.type?e[Pe]:d,d}function mo(e,n,t,r,o){let i=e.data[n];if(null===i)i=function fd(e,n,t,r,o){const i=mg(),s=nu(),c=e.data[n]=function d1(e,n,t,r,o,i){let s=n?n.injectorIndex:-1,a=0;return function qr(){return null!==B.skipHydrationRootTNode}()&&(a|=128),{type:t,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:n,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,s?i:i&&i.parent,t,n,r,o);return null===e.firstChild&&(e.firstChild=c),null!==i&&(s?null==i.child&&null!==c.parent&&(i.child=c):null===i.next&&(i.next=c,c.prev=i)),c}(e,n,t,r,o),function uS(){return B.lFrame.inI18n}()&&(i.flags|=32);else if(64&i.type){i.type=t,i.value=r,i.attrs=o;const s=function mi(){const e=B.lFrame,n=e.currentTNode;return e.isParent?n:n.parent}();i.injectorIndex=null===s?-1:s.injectorIndex}return on(i,!0),i}function ki(e,n,t,r){if(0===t)return-1;const o=n.length;for(let i=0;iX&&Dv(e,n,X,!1),rn(a?2:0,o);const l=a?i:null,u=Js(l);try{null!==l&&(l.dirty=!1),t(r,o)}finally{ea(l,u)}}finally{a&&null===n[fi]&&Cv(n,fi),fr(s),rn(a?3:1,o)}}function hd(e,n,t){if(Wl(n)){const r=kt(null);try{const i=n.directiveEnd;for(let s=n.directiveStart;snull;function Iv(e,n,t,r){for(let o in e)if(e.hasOwnProperty(o)){t=null===t?{}:t;const i=e[o];null===r?Av(t,n,o,i):r.hasOwnProperty(o)&&Av(t,n,r[o],i)}return t}function Av(e,n,t,r){e.hasOwnProperty(t)?e[t].push(n,r):e[t]=[n,r]}function Tt(e,n,t,r,o,i,s,a){const c=gt(n,t);let u,l=n.inputs;!a&&null!=l&&(u=l[r])?(bd(e,t,u,r,o),ur(n)&&function p1(e,n){const t=Mt(n,e);16&t[W]||(t[W]|=64)}(t,n.index)):3&n.type&&(r=function h1(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),o=null!=s?s(o,n.value||"",r):o,i.setProperty(c,r,o))}function vd(e,n,t,r){if(gg()){const o=null===r?null:{"":-1},i=function _1(e,n){const t=e.directiveRegistry;let r=null,o=null;if(t)for(let i=0;i0;){const t=e[--n];if("number"==typeof t&&t<0)return t}return 0})(s)!=a&&s.push(a),s.push(t,r,i)}}(e,n,r,ki(e,t,o.hostVars,z),o)}function an(e,n,t,r,o,i){const s=gt(e,n);!function Cd(e,n,t,r,o,i,s){if(null==i)e.removeAttribute(n,o,t);else{const a=null==s?U(i):s(i,r||"",o);e.setAttribute(n,o,a,t)}}(n[H],s,i,e.value,t,r,o)}function S1(e,n,t,r,o,i){const s=i[n];if(null!==s)for(let a=0;a{class e{constructor(){this.all=new Set,this.queue=new Map}create(t,r,o){const i=typeof Zone>"u"?null:Zone.current,s=function UM(e,n,t){const r=Object.create(HM);t&&(r.consumerAllowSignalWrites=!0),r.fn=e,r.schedule=n;const o=s=>{r.cleanupFn=s};return r.ref={notify:()=>Zp(r),run:()=>{if(r.dirty=!1,r.hasRun&&!Yp(r))return;r.hasRun=!0;const s=Js(r);try{r.cleanupFn(),r.cleanupFn=rg,r.fn(o)}finally{ea(r,s)}},cleanup:()=>r.cleanupFn()},r.ref}(t,l=>{this.all.has(l)&&this.queue.set(l,i)},o);let a;this.all.add(s),s.notify();const c=()=>{s.cleanup(),a?.(),this.all.delete(s),this.queue.delete(s)};return a=r?.onDestroy(c),{destroy:c}}flush(){if(0!==this.queue.size)for(const[t,r]of this.queue)this.queue.delete(t),r?r.run(()=>t.run()):t.run()}get isQueueEmpty(){return 0===this.queue.size}static{this.\u0275prov=R({token:e,providedIn:"root",factory:()=>new e})}}return e})();function Za(e,n,t){let r=t?e.styles:null,o=t?e.classes:null,i=0;if(null!==n)for(let s=0;s0){$v(e,1);const o=t.components;null!==o&&Hv(e,o,1)}}function Hv(e,n,t){for(let r=0;r-1&&(Ma(n,r),ha(t,r))}this._attachedToViewContainer=!1}Au(this._lView[x],this._lView)}onDestroy(n){!function hg(e,n){if(256==(256&e[W]))throw new M(911,!1);null===e[$n]&&(e[$n]=[]),e[$n].push(n)}(this._lView,n)}markForCheck(){Fi(this._cdRefInjectingView||this._lView)}detach(){this._lView[W]&=-129}reattach(){this._lView[W]|=128}detectChanges(){Ya(this._lView[x],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new M(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function MI(e,n){Ii(e,n,n[H],2,null,null)}(this._lView[x],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new M(902,!1);this._appRef=n}}class F1 extends Vi{constructor(n){super(n),this._view=n}detectChanges(){const n=this._view;Ya(n[x],n,n[xe],!1)}checkNoChanges(){}get context(){return null}}class zv extends Ua{constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){const t=J(n);return new ji(t,this.ngModule)}}function Gv(e){const n=[];for(let t in e)e.hasOwnProperty(t)&&n.push({propName:e[t],templateName:t});return n}class L1{constructor(n,t){this.injector=n,this.parentInjector=t}get(n,t,r){r=Gs(r);const o=this.injector.get(n,id,r);return o!==id||t===id?o:this.parentInjector.get(n,t,r)}}class ji extends Ym{get inputs(){const n=this.componentDef,t=n.inputTransforms,r=Gv(n.inputs);if(null!==t)for(const o of r)t.hasOwnProperty(o.propName)&&(o.transform=t[o.propName]);return r}get outputs(){return Gv(this.componentDef.outputs)}constructor(n,t){super(),this.componentDef=n,this.ngModule=t,this.componentType=n.type,this.selector=function DM(e){return e.map(bM).join(",")}(n.selectors),this.ngContentSelectors=n.ngContentSelectors?n.ngContentSelectors:[],this.isBoundToModule=!!t}create(n,t,r,o){let i=(o=o||this.ngModule)instanceof It?o:o?.injector;i&&null!==this.componentDef.getStandaloneInjector&&(i=this.componentDef.getStandaloneInjector(i)||i);const s=i?new L1(n,i):n,a=s.get(Km,null);if(null===a)throw new M(407,!1);const d={rendererFactory:a,sanitizer:s.get(RA,null),effectManager:s.get(Vv,null),afterRenderEventManager:s.get(dd,null)},f=a.createRenderer(null,this.componentDef),g=this.componentDef.selectors[0][0]||"div",v=r?function s1(e,n,t,r){const i=r.get(pv,!1)||t===Ut.ShadowDom,s=e.selectRootElement(n,i);return function a1(e){Sv(e)}(s),s}(f,r,this.componentDef.encapsulation,s):Ea(f,g,function k1(e){const n=e.toLowerCase();return"svg"===n?"svg":"math"===n?"math":null}(g)),E=this.componentDef.signals?4608:this.componentDef.onPush?576:528;let _=null;null!==v&&(_=nd(v,s,!0));const O=md(0,null,null,1,0,null,null,null,null,null,null),k=qa(null,O,null,E,null,null,d,f,s,null,_);let Q,Be;au(k);try{const mn=this.componentDef;let Fr,zh=null;mn.findHostDirectiveDefs?(Fr=[],zh=new Map,mn.findHostDirectiveDefs(mn,Fr,zh),Fr.push(mn)):Fr=[mn];const B3=function j1(e,n){const t=e[x],r=X;return e[r]=n,mo(t,r,2,"#host",null)}(k,v),$3=function B1(e,n,t,r,o,i,s){const a=o[x];!function $1(e,n,t,r){for(const o of e)n.mergedAttrs=ai(n.mergedAttrs,o.hostAttrs);null!==n.mergedAttrs&&(Za(n,n.mergedAttrs,!0),null!==t&&Em(r,t,n))}(r,e,n,s);let c=null;null!==n&&(c=nd(n,o[Bn]));const l=i.rendererFactory.createRenderer(n,t);let u=16;t.signals?u=4096:t.onPush&&(u=64);const d=qa(o,Mv(t),null,u,o[e.index],e,i,l,null,null,c);return a.firstCreatePass&&yd(a,e,r.length-1),Wa(o,d),o[e.index]=d}(B3,v,mn,Fr,k,d,f);Be=lg(O,X),v&&function H1(e,n,t,r){if(r)Gl(e,t,["ng-version",NA.full]);else{const{attrs:o,classes:i}=function wM(e){const n=[],t=[];let r=1,o=2;for(;r0&&wm(e,t,i.join(" "))}}(f,mn,v,r),void 0!==t&&function z1(e,n,t){const r=e.projection=[];for(let o=0;o=0;r--){const o=e[r];o.hostVars=n+=o.hostVars,o.hostAttrs=ai(o.hostAttrs,t=ai(t,o.hostAttrs))}}(r)}function Qa(e){return e===en?{}:e===re?[]:e}function W1(e,n){const t=e.viewQuery;e.viewQuery=t?(r,o)=>{n(r,o),t(r,o)}:n}function Z1(e,n){const t=e.contentQueries;e.contentQueries=t?(r,o,i)=>{n(r,o,i),t(r,o,i)}:n}function Y1(e,n){const t=e.hostBindings;e.hostBindings=t?(r,o)=>{n(r,o),t(r,o)}:n}function Qv(e){const n=e.inputConfig,t={};for(const r in n)if(n.hasOwnProperty(r)){const o=n[r];Array.isArray(o)&&o[2]&&(t[r]=o[2])}e.inputTransforms=t}function Ka(e){return!!wd(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function wd(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function cn(e,n,t){return e[n]=t}function Ke(e,n,t){return!Object.is(e[n],t)&&(e[n]=t,!0)}function ln(e,n,t,r){const o=w();return Ke(o,Wr(),n)&&(ee(),an(Ee(),o,e,n,t,r)),ln}function yo(e,n,t,r){return Ke(e,Wr(),t)?n+U(t)+r:z}function L(e,n,t,r,o,i,s,a){const c=w(),l=ee(),u=e+X,d=l.firstCreatePass?function _T(e,n,t,r,o,i,s,a,c){const l=n.consts,u=mo(n,e,4,s||null,zn(l,a));vd(n,t,u,zn(l,c)),ia(n,u);const d=u.tView=md(2,u,r,o,i,n.directiveRegistry,n.pipeRegistry,null,n.schemas,l,null);return null!==n.queries&&(n.queries.template(n,u),d.queries=n.queries.embeddedTView(u)),u}(u,l,c,n,t,r,o,i,s):l.data[u];on(d,!1);const f=ly(l,c,d,e);oa()&&Ia(l,c,f,d),Qe(f,c),Wa(c,c[u]=Ov(f,c,f,d)),Qs(d)&&pd(l,c,d),null!=s&&gd(c,d,a)}let ly=function uy(e,n,t,r){return Gn(!0),n[H].createComment("")};function I(e,n,t){const r=w();return Ke(r,Wr(),n)&&Tt(ee(),Ee(),r,e,n,r[H],t,!1),I}function Td(e,n,t,r,o){const s=o?"class":"style";bd(e,t,n.inputs[s],s,r)}function h(e,n,t,r){const o=w(),i=ee(),s=X+e,a=o[H],c=i.firstCreatePass?function MT(e,n,t,r,o,i){const s=n.consts,c=mo(n,e,2,r,zn(s,o));return vd(n,t,c,zn(s,i)),null!==c.attrs&&Za(c,c.attrs,!1),null!==c.mergedAttrs&&Za(c,c.mergedAttrs,!0),null!==n.queries&&n.queries.elementStart(n,c),c}(s,i,o,n,t,r):i.data[s],l=dy(i,o,c,a,n,e);o[s]=l;const u=Qs(c);return on(c,!0),Em(a,l,c),32!=(32&c.flags)&&oa()&&Ia(i,o,l,c),0===function tS(){return B.lFrame.elementDepthCount}()&&Qe(l,o),function nS(){B.lFrame.elementDepthCount++}(),u&&(pd(i,o,c),hd(i,c,o)),null!==r&&gd(o,c),h}function p(){let e=Ge();nu()?function ru(){B.lFrame.isParent=!1}():(e=e.parent,on(e,!1));const n=e;(function oS(e){return B.skipHydrationRootTNode===e})(n)&&function cS(){B.skipHydrationRootTNode=null}(),function rS(){B.lFrame.elementDepthCount--}();const t=ee();return t.firstCreatePass&&(ia(t,e),Wl(e)&&t.queries.elementEnd(e)),null!=n.classesWithoutHost&&function wS(e){return 0!=(8&e.flags)}(n)&&Td(t,n,w(),n.classesWithoutHost,!0),null!=n.stylesWithoutHost&&function ES(e){return 0!=(16&e.flags)}(n)&&Td(t,n,w(),n.stylesWithoutHost,!1),p}function N(e,n,t,r){return h(e,n,t,r),p(),N}let dy=(e,n,t,r,o,i)=>(Gn(!0),Ea(r,o,function Sg(){return B.lFrame.currentNamespace}()));function Ve(){return w()}function zi(e){return!!e&&"function"==typeof e.then}function py(e){return!!e&&"function"==typeof e.subscribe}function S(e,n,t,r){const o=w(),i=ee(),s=Ge();return function my(e,n,t,r,o,i,s){const a=Qs(r),l=e.firstCreatePass&&Fv(e),u=n[xe],d=Nv(n);let f=!0;if(3&r.type||s){const y=gt(r,n),b=s?s(y):y,E=d.length,_=s?k=>s(ve(k[r.index])):r.index;let O=null;if(!s&&a&&(O=function PT(e,n,t,r){const o=e.cleanup;if(null!=o)for(let i=0;ic?a[c]:null}"string"==typeof s&&(i+=2)}return null}(e,n,o,r.index)),null!==O)(O.__ngLastListenerFn__||O).__ngNextListenerFn__=i,O.__ngLastListenerFn__=i,f=!1;else{i=yy(r,n,u,i,!1);const k=t.listen(b,o,i);d.push(i,k),l&&l.push(o,_,E,E+1)}}else i=yy(r,n,u,i,!1);const g=r.outputs;let v;if(f&&null!==g&&(v=g[o])){const y=v.length;if(y)for(let b=0;b-1?Mt(e.index,n):n);let c=vy(n,t,r,s),l=i.__ngNextListenerFn__;for(;l;)c=vy(n,t,l,s)&&c,l=l.__ngNextListenerFn__;return o&&!1===c&&s.preventDefault(),c}}function G(e=1){return function pS(e){return(B.lFrame.contextLView=function gS(e,n){for(;e>0;)n=n[$r],e--;return n}(e,B.lFrame.contextLView))[xe]}(e)}function nc(e,n,t,r,o){const i=w(),s=yo(i,n,t,r);return s!==z&&Tt(ee(),Ee(),i,e,s,i[H],o,!1),nc}function rc(e,n){return e<<17|n<<2}function Qn(e){return e>>17&32767}function Od(e){return 2|e}function vr(e){return(131068&e)>>2}function Rd(e,n){return-131069&e|n<<2}function Nd(e){return 1|e}function Ay(e,n,t,r,o){const i=e[t+1],s=null===n;let a=r?Qn(i):vr(i),c=!1;for(;0!==a&&(!1===c||s);){const u=e[a+1];BT(e[a],n)&&(c=!0,e[a+1]=r?Nd(u):Od(u)),a=r?Qn(u):vr(u)}c&&(e[t+1]=r?Od(i):Nd(i))}function BT(e,n){return null===e||null==n||(Array.isArray(e)?e[1]:e)===n||!(!Array.isArray(e)||"string"!=typeof n)&&to(e,n)>=0}function xt(e,n){return function qt(e,n,t,r){const o=w(),i=ee(),s=function Dn(e){const n=B.lFrame,t=n.bindingIndex;return n.bindingIndex=n.bindingIndex+e,t}(2);i.firstUpdatePass&&function Ly(e,n,t,r){const o=e.data;if(null===o[t+1]){const i=o[st()],s=function ky(e,n){return n>=e.expandoStartIndex}(e,t);(function $y(e,n){return 0!=(e.flags&(n?8:16))})(i,r)&&null===n&&!s&&(n=!1),n=function YT(e,n,t,r){const o=function iu(e){const n=B.lFrame.currentDirectiveIndex;return-1===n?null:e[n]}(e);let i=r?n.residualClasses:n.residualStyles;if(null===o)0===(r?n.classBindings:n.styleBindings)&&(t=Gi(t=Fd(null,e,n,t,r),n.attrs,r),i=null);else{const s=n.directiveStylingLast;if(-1===s||e[s]!==o)if(t=Fd(o,e,n,t,r),null===i){let c=function QT(e,n,t){const r=t?n.classBindings:n.styleBindings;if(0!==vr(r))return e[Qn(r)]}(e,n,r);void 0!==c&&Array.isArray(c)&&(c=Fd(null,e,n,c[1],r),c=Gi(c,n.attrs,r),function KT(e,n,t,r){e[Qn(t?n.classBindings:n.styleBindings)]=r}(e,n,r,c))}else i=function XT(e,n,t){let r;const o=n.directiveEnd;for(let i=1+n.directiveStylingLast;i0)&&(l=!0)):u=t,o)if(0!==c){const f=Qn(e[a+1]);e[r+1]=rc(f,a),0!==f&&(e[f+1]=Rd(e[f+1],r)),e[a+1]=function kT(e,n){return 131071&e|n<<17}(e[a+1],r)}else e[r+1]=rc(a,0),0!==a&&(e[a+1]=Rd(e[a+1],r)),a=r;else e[r+1]=rc(c,0),0===a?a=r:e[c+1]=Rd(e[c+1],r),c=r;l&&(e[r+1]=Od(e[r+1])),Ay(e,u,r,!0),Ay(e,u,r,!1),function jT(e,n,t,r,o){const i=o?e.residualClasses:e.residualStyles;null!=i&&"string"==typeof n&&to(i,n)>=0&&(t[r+1]=Nd(t[r+1]))}(n,u,e,r,i),s=rc(a,c),i?n.classBindings=s:n.styleBindings=s}(o,i,n,t,s,r)}}(i,e,s,r),n!==z&&Ke(o,s,n)&&function jy(e,n,t,r,o,i,s,a){if(!(3&n.type))return;const c=e.data,l=c[a+1],u=function LT(e){return 1==(1&e)}(l)?By(c,n,t,o,vr(l),s):void 0;oc(u)||(oc(i)||function FT(e){return 2==(2&e)}(l)&&(i=By(c,null,t,o,a,s)),function FI(e,n,t,r,o){if(n)o?e.addClass(t,r):e.removeClass(t,r);else{let i=-1===r.indexOf("-")?void 0:qn.DashCase;null==o?e.removeStyle(t,r,i):("string"==typeof o&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=qn.Important),e.setStyle(t,r,o,i))}}(r,s,ra(st(),t),o,i))}(i,i.data[st()],o,o[H],e,o[s+1]=function nx(e,n){return null==e||""===e||("string"==typeof n?e+=n:"object"==typeof e&&(e=ke(Wn(e)))),e}(n,t),r,s)}(e,n,null,!0),xt}function Fd(e,n,t,r,o){let i=null;const s=t.directiveEnd;let a=t.directiveStylingLast;for(-1===a?a=t.directiveStart:a++;a0;){const c=e[o],l=Array.isArray(c),u=l?c[1]:c,d=null===u;let f=t[o+1];f===z&&(f=d?re:void 0);let g=d?vu(f,r):u===r?f:void 0;if(l&&!oc(g)&&(g=vu(c,r)),oc(g)&&(a=g,s))return a;const v=e[o+1];o=s?Qn(v):vr(v)}if(null!==n){let c=i?n.residualClasses:n.residualStyles;null!=c&&(a=vu(c,r))}return a}function oc(e){return void 0!==e}function m(e,n=""){const t=w(),r=ee(),o=e+X,i=r.firstCreatePass?mo(r,o,1,n,null):r.data[o],s=Uy(r,t,i,n,e);t[o]=s,oa()&&Ia(r,t,s,i),on(i,!1)}let Uy=(e,n,t,r,o)=>(Gn(!0),function wa(e,n){return e.createText(n)}(n[H],r));function te(e){return ic("",e,""),te}function ic(e,n,t){const r=w(),o=yo(r,e,n,t);return o!==z&&function In(e,n,t){const r=ra(n,e);!function dm(e,n,t){e.setValue(n,t)}(e[H],r,t)}(r,st(),o),ic}const yr=void 0;var Ex=["en",[["a","p"],["AM","PM"],yr],[["AM","PM"],yr,yr],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],yr,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],yr,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",yr,"{1} 'at' {0}",yr],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function wx(e){const t=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===r?1:5}];let Io={};function ct(e){const n=function Mx(e){return e.toLowerCase().replace(/_/g,"-")}(e);let t=lC(n);if(t)return t;const r=n.split("-")[0];if(t=lC(r),t)return t;if("en"===r)return Ex;throw new M(701,!1)}function lC(e){return e in Io||(Io[e]=me.ng&&me.ng.common&&me.ng.common.locales&&me.ng.common.locales[e]),Io[e]}var ye=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}(ye||{});const Ao="en-US";let uC=Ao;function Vd(e,n,t,r,o){if(e=$(e),Array.isArray(e))for(let i=0;i>20;if(gr(e)||!e.multi){const g=new vi(l,o,C),v=Bd(c,n,o?u:u+f,d);-1===v?(pu(la(a,s),i,c),jd(i,e,n.length),n.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),t.push(g),s.push(g)):(t[v]=g,s[v]=g)}else{const g=Bd(c,n,u+f,d),v=Bd(c,n,u,u+f),b=v>=0&&t[v];if(o&&!b||!o&&!(g>=0&&t[g])){pu(la(a,s),i,c);const E=function wP(e,n,t,r,o){const i=new vi(e,t,C);return i.multi=[],i.index=n,i.componentProviders=0,FC(i,o,r&&!t),i}(o?DP:bP,t.length,o,r,l);!o&&b&&(t[v].providerFactory=E),jd(i,e,n.length,0),n.push(c),a.directiveStart++,a.directiveEnd++,o&&(a.providerIndexes+=1048576),t.push(E),s.push(E)}else jd(i,e,g>-1?g:v,FC(t[o?v:g],l,!o&&r));!o&&r&&b&&t[v].componentProviders++}}}function jd(e,n,t,r){const o=gr(n),i=function uA(e){return!!e.useClass}(n);if(o||i){const c=(i?$(n.useClass):n).prototype.ngOnDestroy;if(c){const l=e.destroyHooks||(e.destroyHooks=[]);if(!o&&n.multi){const u=l.indexOf(t);-1===u?l.push(t,[r,c]):l[u+1].push(r,c)}else l.push(t,c)}}}function FC(e,n,t){return t&&e.componentProviders++,e.multi.push(n)-1}function Bd(e,n,t,r){for(let o=t;o{t.providersResolver=(r,o)=>function _P(e,n,t){const r=ee();if(r.firstCreatePass){const o=Gt(e);Vd(t,r.data,r.blueprint,o,!0),Vd(n,r.data,r.blueprint,o,!1)}}(r,o?o(e):e,n)}}class Cr{}class kC{}class Ud extends Cr{constructor(n,t,r){super(),this._parent=t,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new zv(this);const o=Et(n);this._bootstrapComponents=Sn(o.bootstrap),this._r3Injector=nv(n,t,[{provide:Cr,useValue:this},{provide:Ua,useValue:this.componentFactoryResolver},...r],ke(n),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(n)}get injector(){return this._r3Injector}destroy(){const n=this._r3Injector;!n.destroyed&&n.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}}class Hd extends kC{constructor(n){super(),this.moduleType=n}create(n){return new Ud(this.moduleType,n,[])}}class LC extends Cr{constructor(n){super(),this.componentFactoryResolver=new zv(this),this.instance=null;const t=new co([...n.providers,{provide:Cr,useValue:this},{provide:Ua,useValue:this.componentFactoryResolver}],n.parent||Fa(),n.debugName,new Set(["environment"]));this.injector=t,n.runEnvironmentInitializers&&t.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}}function zd(e,n,t=null){return new LC({providers:e,parent:n,debugName:t,runEnvironmentInitializers:!0}).injector}let SP=(()=>{class e{constructor(t){this._injector=t,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(t){if(!t.standalone)return null;if(!this.cachedInjectors.has(t)){const r=jm(0,t.type),o=r.length>0?zd([r],this._injector,`Standalone[${t.type.name}]`):null;this.cachedInjectors.set(t,o)}return this.cachedInjectors.get(t)}ngOnDestroy(){try{for(const t of this.cachedInjectors.values())null!==t&&t.destroy()}finally{this.cachedInjectors.clear()}}static{this.\u0275prov=R({token:e,providedIn:"environment",factory:()=>new e(A(It))})}}return e})();function VC(e){e.getStandaloneInjector=n=>n.get(SP).getOrCreateStandaloneInjector(e)}function An(e,n,t,r){return GC(w(),it(),e,n,t,r)}function Ki(e,n){const t=e[n];return t===z?void 0:t}function GC(e,n,t,r,o,i){const s=n+t;return Ke(e,s,o)?cn(e,s+1,i?r.call(i,o):r(o)):Ki(e,s+1)}function qC(e,n,t,r,o,i,s){const a=n+t;return function mr(e,n,t,r){const o=Ke(e,n,t);return Ke(e,n+1,r)||o}(e,a,o,i)?cn(e,a+2,s?r.call(s,o,i):r(o,i)):Ki(e,a+2)}function qd(e,n){const t=ee();let r;const o=e+X;t.firstCreatePass?(r=function zP(e,n){if(n)for(let t=n.length-1;t>=0;t--){const r=n[t];if(e===r.name)return r}}(n,t.pipeRegistry),t.data[o]=r,r.onDestroy&&(t.destroyHooks??=[]).push(o,r.onDestroy)):r=t.data[o];const i=r.factory||(r.factory=dr(r.type)),a=ht(C);try{const c=ca(!1),l=i();return ca(c),function wT(e,n,t,r){t>=e.data.length&&(e.data[t]=null,e.blueprint[t]=null),n[t]=r}(t,w(),o,l),l}finally{ht(a)}}function Xi(e,n){return e[x].data[n].pure}function ZP(){return this._results[Symbol.iterator]()}class Wd{get changes(){return this._changes||(this._changes=new Se)}constructor(n=!1){this._emitDistinctChangesOnly=n,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const t=Wd.prototype;t[Symbol.iterator]||(t[Symbol.iterator]=ZP)}get(n){return this._results[n]}map(n){return this._results.map(n)}filter(n){return this._results.filter(n)}find(n){return this._results.find(n)}reduce(n,t){return this._results.reduce(n,t)}forEach(n){this._results.forEach(n)}some(n){return this._results.some(n)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(n,t){const r=this;r.dirty=!1;const o=function Lt(e){return e.flat(Number.POSITIVE_INFINITY)}(n);(this._changesDetected=!function VS(e,n,t){if(e.length!==n.length)return!1;for(let r=0;r0&&(t[o-1][zt]=n),r{class e{static{this.__NG_ELEMENT_ID__=JP}}return e})();const KP=Tn,XP=class extends KP{constructor(n,t,r){super(),this._declarationLView=n,this._declarationTContainer=t,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(n,t){return this.createEmbeddedViewImpl(n,t)}createEmbeddedViewImpl(n,t,r){const o=function YP(e,n,t,r){const o=n.tView,a=qa(e,o,t,4096&e[W]?4096:16,null,n,null,null,null,r?.injector??null,r?.hydrationInfo??null);a[ui]=e[n.index];const l=e[tn];return null!==l&&(a[tn]=l.createEmbeddedView(o)),Dd(o,a,t),a}(this._declarationLView,this._declarationTContainer,n,{injector:t,hydrationInfo:r});return new Vi(o)}};function JP(){return uc(Ge(),w())}function uc(e,n){return 4&e.type?new XP(n,e,ho(e,n)):null}let Zt=(()=>{class e{static{this.__NG_ELEMENT_ID__=iO}}return e})();function iO(){return o_(Ge(),w())}const sO=Zt,n_=class extends sO{constructor(n,t,r){super(),this._lContainer=n,this._hostTNode=t,this._hostLView=r}get element(){return ho(this._hostTNode,this._hostLView)}get injector(){return new at(this._hostTNode,this._hostLView)}get parentInjector(){const n=ua(this._hostTNode,this._hostLView);if(du(n)){const t=Ci(n,this._hostLView),r=yi(n);return new at(t[x].data[r+8],t)}return new at(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){const t=r_(this._lContainer);return null!==t&&t[n]||null}get length(){return this._lContainer.length-He}createEmbeddedView(n,t,r){let o,i;"number"==typeof r?o=r:null!=r&&(o=r.index,i=r.injector);const a=n.createEmbeddedViewImpl(t||{},i,null);return this.insertImpl(a,o,false),a}createComponent(n,t,r,o,i){const s=n&&!function bi(e){return"function"==typeof e}(n);let a;if(s)a=t;else{const y=t||{};a=y.index,r=y.injector,o=y.projectableNodes,i=y.environmentInjector||y.ngModuleRef}const c=s?n:new ji(J(n)),l=r||this.parentInjector;if(!i&&null==c.ngModule){const b=(s?l:this.parentInjector).get(It,null);b&&(i=b)}J(c.componentType??{});const g=c.create(l,o,null,i);return this.insertImpl(g.hostView,a,false),g}insert(n,t){return this.insertImpl(n,t,!1)}insertImpl(n,t,r){const o=n._lView;if(function XM(e){return rt(e[be])}(o)){const c=this.indexOf(n);if(-1!==c)this.detach(c);else{const l=o[be],u=new n_(l,l[Ye],l[be]);u.detach(u.indexOf(n))}}const s=this._adjustIndex(t),a=this._lContainer;return QP(a,o,s,!r),n.attachToViewContainerRef(),$g(Zd(a),s,n),n}move(n,t){return this.insert(n,t)}indexOf(n){const t=r_(this._lContainer);return null!==t?t.indexOf(n):-1}remove(n){const t=this._adjustIndex(n,-1),r=Ma(this._lContainer,t);r&&(ha(Zd(this._lContainer),t),Au(r[x],r))}detach(n){const t=this._adjustIndex(n,-1),r=Ma(this._lContainer,t);return r&&null!=ha(Zd(this._lContainer),t)?new Vi(r):null}_adjustIndex(n,t=0){return n??this.length+t}};function r_(e){return e[8]}function Zd(e){return e[8]||(e[8]=[])}function o_(e,n){let t;const r=n[e.index];return rt(r)?t=r:(t=Ov(r,n,null,e),n[e.index]=t,Wa(n,t)),i_(t,n,e,r),new n_(t,e,n)}let i_=function s_(e,n,t,r){if(e[nn])return;let o;o=8&t.type?ve(r):function aO(e,n){const t=e[H],r=t.createComment(""),o=gt(n,e);return pr(t,Sa(t,o),r,function OI(e,n){return e.nextSibling(n)}(t,o),!1),r}(n,t),e[nn]=o};class Yd{constructor(n){this.queryList=n,this.matches=null}clone(){return new Yd(this.queryList)}setDirty(){this.queryList.setDirty()}}class Qd{constructor(n=[]){this.queries=n}createEmbeddedView(n){const t=n.queries;if(null!==t){const r=null!==n.contentQueries?n.contentQueries[0]:t.length,o=[];for(let i=0;i0)r.push(s[a/2]);else{const l=i[a+1],u=n[-c];for(let d=He;d{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((t,r)=>{this.resolve=t,this.reject=r}),this.appInits=P(hc,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const t=[];for(const o of this.appInits){const i=o();if(zi(i))t.push(i);else if(py(i)){const s=new Promise((a,c)=>{i.subscribe({complete:a,error:c})});t.push(s)}}const r=()=>{this.done=!0,this.resolve()};Promise.all(t).then(()=>{r()}).catch(o=>{this.reject(o)}),0===t.length&&r(),this.initialized=!0}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=R({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),T_=(()=>{class e{log(t){console.log(t)}warn(t){console.warn(t)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=R({token:e,factory:e.\u0275fac,providedIn:"platform"})}}return e})();const xn=new T("LocaleId",{providedIn:"root",factory:()=>P(xn,K.Optional|K.SkipSelf)||function LO(){return typeof $localize<"u"&&$localize.locale||Ao}()});let pc=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Dt(!1)}add(){this.hasPendingTasks.next(!0);const t=this.taskId++;return this.pendingTasks.add(t),t}remove(t){this.pendingTasks.delete(t),0===this.pendingTasks.size&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=R({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();class BO{constructor(n,t){this.ngModuleFactory=n,this.componentFactories=t}}let x_=(()=>{class e{compileModuleSync(t){return new Hd(t)}compileModuleAsync(t){return Promise.resolve(this.compileModuleSync(t))}compileModuleAndAllComponentsSync(t){const r=this.compileModuleSync(t),i=Sn(Et(t).declarations).reduce((s,a)=>{const c=J(a);return c&&s.push(new ji(c)),s},[]);return new BO(r,i)}compileModuleAndAllComponentsAsync(t){return Promise.resolve(this.compileModuleAndAllComponentsSync(t))}clearCache(){}clearCacheFor(t){}getModuleId(t){}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=R({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();const N_=new T(""),mc=new T("");let ff,uf=(()=>{class e{constructor(t,r,o){this._ngZone=t,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,ff||(function cR(e){ff=e}(o),o.addToWindow(r)),this._watchAngularEvents(),t.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{ce.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb(this._didWork)}this._didWork=!1});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(t)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,r,o){let i=-1;r&&r>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==i),t(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:t,timeoutId:i,updateCb:o})}whenStable(t,r,o){if(o&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(t,r,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(t){this.registry.registerApplication(t,this)}unregisterApplication(t){this.registry.unregisterApplication(t)}findProviders(t,r,o){return[]}static{this.\u0275fac=function(r){return new(r||e)(A(ce),A(df),A(mc))}}static{this.\u0275prov=R({token:e,factory:e.\u0275fac})}}return e})(),df=(()=>{class e{constructor(){this._applications=new Map}registerApplication(t,r){this._applications.set(t,r)}unregisterApplication(t){this._applications.delete(t)}unregisterAllApplications(){this._applications.clear()}getTestability(t){return this._applications.get(t)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(t,r=!0){return ff?.findTestabilityInTree(this,t,r)??null}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=R({token:e,factory:e.\u0275fac,providedIn:"platform"})}}return e})(),Kn=null;const F_=new T("AllowMultipleToken"),hf=new T("PlatformDestroyListeners"),pf=new T("appBootstrapListener");class L_{constructor(n,t){this.name=n,this.token=t}}function j_(e,n,t=[]){const r=`Platform: ${n}`,o=new T(r);return(i=[])=>{let s=gf();if(!s||s.injector.get(F_,!1)){const a=[...t,...i,{provide:o,useValue:!0}];e?e(a):function dR(e){if(Kn&&!Kn.get(F_,!1))throw new M(400,!1);(function k_(){!function LM(e){Jp=e}(()=>{throw new M(600,!1)})})(),Kn=e;const n=e.get($_);(function V_(e){e.get(zm,null)?.forEach(t=>t())})(e)}(function B_(e=[],n){return At.create({name:n,providers:[{provide:Gu,useValue:"platform"},{provide:hf,useValue:new Set([()=>Kn=null])},...e]})}(a,r))}return function hR(e){const n=gf();if(!n)throw new M(401,!1);return n}()}}function gf(){return Kn?.get($_)??null}let $_=(()=>{class e{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,r){const o=function pR(e="zone.js",n){return"noop"===e?new WA:"zone.js"===e?new ce(n):e}(r?.ngZone,function U_(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing}));return o.run(()=>{const i=function MP(e,n,t){return new Ud(e,n,t)}(t.moduleType,this.injector,function W_(e){return[{provide:ce,useFactory:e},{provide:Pi,multi:!0,useFactory:()=>{const n=P(mR,{optional:!0});return()=>n.initialize()}},{provide:q_,useFactory:gR},{provide:av,useFactory:cv}]}(()=>o)),s=i.injector.get(Mn,null);return o.runOutsideAngular(()=>{const a=o.onError.subscribe({next:c=>{s.handleError(c)}});i.onDestroy(()=>{vc(this._modules,i),a.unsubscribe()})}),function H_(e,n,t){try{const r=t();return zi(r)?r.catch(o=>{throw n.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw n.runOutsideAngular(()=>e.handleError(r)),r}}(s,o,()=>{const a=i.injector.get(af);return a.runInitializers(),a.donePromise.then(()=>(function dC(e){Nt(e,"Expected localeId to be defined"),"string"==typeof e&&(uC=e.toLowerCase().replace(/_/g,"-"))}(i.injector.get(xn,Ao)||Ao),this._moduleDoBootstrap(i),i))})})}bootstrapModule(t,r=[]){const o=z_({},r);return function lR(e,n,t){const r=new Hd(t);return Promise.resolve(r)}(0,0,t).then(i=>this.bootstrapModuleFactory(i,o))}_moduleDoBootstrap(t){const r=t.injector.get(Ro);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(o=>r.bootstrap(o));else{if(!t.instance.ngDoBootstrap)throw new M(-403,!1);t.instance.ngDoBootstrap(r)}this._modules.push(t)}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new M(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const t=this._injector.get(hf,null);t&&(t.forEach(r=>r()),t.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static{this.\u0275fac=function(r){return new(r||e)(A(At))}}static{this.\u0275prov=R({token:e,factory:e.\u0275fac,providedIn:"platform"})}}return e})();function z_(e,n){return Array.isArray(n)?n.reduce(z_,e):{...e,...n}}let Ro=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=P(q_),this.zoneIsStable=P(av),this.componentTypes=[],this.components=[],this.isStable=P(pc).hasPendingTasks.pipe(Y(t=>t?F(!1):this.zoneIsStable),function WE(e,n=Ln){return e=e??ZE,Fe((t,r)=>{let o,i=!0;t.subscribe(Re(r,s=>{const a=n(s);(i||!e(o,a))&&(i=!1,o=a,r.next(s))}))})}(),vp()),this._injector=P(It)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(t,r){const o=t instanceof Ym;if(!this._injector.get(af).done)throw!o&&function Vr(e){const n=J(e)||Ue(e)||nt(e);return null!==n&&n.standalone}(t),new M(405,!1);let s;s=o?t:this._injector.get(Ua).resolveComponentFactory(t),this.componentTypes.push(s.componentType);const a=function uR(e){return e.isBoundToModule}(s)?void 0:this._injector.get(Cr),l=s.create(At.NULL,[],r||s.selector,a),u=l.location.nativeElement,d=l.injector.get(N_,null);return d?.registerApplication(u),l.onDestroy(()=>{this.detachView(l.hostView),vc(this.components,l),d?.unregisterApplication(u)}),this._loadComponent(l),l}tick(){if(this._runningTick)throw new M(101,!1);try{this._runningTick=!0;for(let t of this._views)t.detectChanges()}catch(t){this.internalErrorHandler(t)}finally{this._runningTick=!1}}attachView(t){const r=t;this._views.push(r),r.attachToAppRef(this)}detachView(t){const r=t;vc(this._views,r),r.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t);const r=this._injector.get(pf,[]);r.push(...this._bootstrapListeners),r.forEach(o=>o(t))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(t=>t()),this._views.slice().forEach(t=>t.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(t){return this._destroyListeners.push(t),()=>vc(this._destroyListeners,t)}destroy(){if(this._destroyed)throw new M(406,!1);const t=this._injector;t.destroy&&!t.destroyed&&t.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=R({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function vc(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}const q_=new T("",{providedIn:"root",factory:()=>P(Mn).handleError.bind(void 0)});function gR(){const e=P(ce),n=P(Mn);return t=>e.runOutsideAngular(()=>n.handleError(t))}let mR=(()=>{class e{constructor(){this.zone=P(ce),this.applicationRef=P(Ro)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=R({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();let Pn=(()=>{class e{static{this.__NG_ELEMENT_ID__=yR}}return e})();function yR(e){return function CR(e,n,t){if(ur(e)&&!t){const r=Mt(e.index,n);return new Vi(r,r)}return 47&e.type?new Vi(n[Pe],n):null}(Ge(),w(),16==(16&e))}class X_{constructor(){}supports(n){return Ka(n)}create(n){return new ER(n)}}const wR=(e,n)=>n;class ER{constructor(n){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=n||wR}forEachItem(n){let t;for(t=this._itHead;null!==t;t=t._next)n(t)}forEachOperation(n){let t=this._itHead,r=this._removalsHead,o=0,i=null;for(;t||r;){const s=!r||t&&t.currentIndex{s=this._trackByFn(o,a),null!==t&&Object.is(t.trackById,s)?(r&&(t=this._verifyReinsertion(t,a,s,o)),Object.is(t.item,a)||this._addIdentityChange(t,a)):(t=this._mismatch(t,a,s,o),r=!0),t=t._next,o++}),this.length=o;return this._truncate(t),this.collection=n,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let n;for(n=this._previousItHead=this._itHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._additionsHead;null!==n;n=n._nextAdded)n.previousIndex=n.currentIndex;for(this._additionsHead=this._additionsTail=null,n=this._movesHead;null!==n;n=n._nextMoved)n.previousIndex=n.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(n,t,r,o){let i;return null===n?i=this._itTail:(i=n._prev,this._remove(n)),null!==(n=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._reinsertAfter(n,i,o)):null!==(n=null===this._linkedRecords?null:this._linkedRecords.get(r,o))?(Object.is(n.item,t)||this._addIdentityChange(n,t),this._moveAfter(n,i,o)):n=this._addAfter(new MR(t,r),i,o),n}_verifyReinsertion(n,t,r,o){let i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==i?n=this._reinsertAfter(i,n._prev,o):n.currentIndex!=o&&(n.currentIndex=o,this._addToMoves(n,o)),n}_truncate(n){for(;null!==n;){const t=n._next;this._addToRemovals(this._unlink(n)),n=t}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(n,t,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(n);const o=n._prevRemoved,i=n._nextRemoved;return null===o?this._removalsHead=i:o._nextRemoved=i,null===i?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(n,t,r),this._addToMoves(n,r),n}_moveAfter(n,t,r){return this._unlink(n),this._insertAfter(n,t,r),this._addToMoves(n,r),n}_addAfter(n,t,r){return this._insertAfter(n,t,r),this._additionsTail=null===this._additionsTail?this._additionsHead=n:this._additionsTail._nextAdded=n,n}_insertAfter(n,t,r){const o=null===t?this._itHead:t._next;return n._next=o,n._prev=t,null===o?this._itTail=n:o._prev=n,null===t?this._itHead=n:t._next=n,null===this._linkedRecords&&(this._linkedRecords=new J_),this._linkedRecords.put(n),n.currentIndex=r,n}_remove(n){return this._addToRemovals(this._unlink(n))}_unlink(n){null!==this._linkedRecords&&this._linkedRecords.remove(n);const t=n._prev,r=n._next;return null===t?this._itHead=r:t._next=r,null===r?this._itTail=t:r._prev=t,n}_addToMoves(n,t){return n.previousIndex===t||(this._movesTail=null===this._movesTail?this._movesHead=n:this._movesTail._nextMoved=n),n}_addToRemovals(n){return null===this._unlinkedRecords&&(this._unlinkedRecords=new J_),this._unlinkedRecords.put(n),n.currentIndex=null,n._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=n,n._prevRemoved=null):(n._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=n),n}_addIdentityChange(n,t){return n.item=t,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=n:this._identityChangesTail._nextIdentityChange=n,n}}class MR{constructor(n,t){this.item=n,this.trackById=t,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class SR{constructor(){this._head=null,this._tail=null}add(n){null===this._head?(this._head=this._tail=n,n._nextDup=null,n._prevDup=null):(this._tail._nextDup=n,n._prevDup=this._tail,n._nextDup=null,this._tail=n)}get(n,t){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===t||t<=r.currentIndex)&&Object.is(r.trackById,n))return r;return null}remove(n){const t=n._prevDup,r=n._nextDup;return null===t?this._head=r:t._nextDup=r,null===r?this._tail=t:r._prevDup=t,null===this._head}}class J_{constructor(){this.map=new Map}put(n){const t=n.trackById;let r=this.map.get(t);r||(r=new SR,this.map.set(t,r)),r.add(n)}get(n,t){const o=this.map.get(n);return o?o.get(n,t):null}remove(n){const t=n.trackById;return this.map.get(t).remove(n)&&this.map.delete(t),n}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function eb(e,n,t){const r=e.previousIndex;if(null===r)return r;let o=0;return t&&r{if(t&&t.key===o)this._maybeAddToChanges(t,r),this._appendAfter=t,t=t._next;else{const i=this._getOrCreateRecordForKey(o,r);t=this._insertBeforeOrAppend(t,i)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let r=t;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(n,t){if(n){const r=n._prev;return t._next=n,t._prev=r,n._prev=t,r&&(r._next=t),n===this._mapHead&&(this._mapHead=t),this._appendAfter=n,n}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}_getOrCreateRecordForKey(n,t){if(this._records.has(n)){const o=this._records.get(n);this._maybeAddToChanges(o,t);const i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}const r=new AR(n);return this._records.set(n,r),r.currentValue=t,this._addToAdditions(r),r}_reset(){if(this.isDirty){let n;for(this._previousMapHead=this._mapHead,n=this._previousMapHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._changesHead;null!==n;n=n._nextChanged)n.previousValue=n.currentValue;for(n=this._additionsHead;null!=n;n=n._nextAdded)n.previousValue=n.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(n,t){Object.is(t,n.currentValue)||(n.previousValue=n.currentValue,n.currentValue=t,this._addToChanges(n))}_addToAdditions(n){null===this._additionsHead?this._additionsHead=this._additionsTail=n:(this._additionsTail._nextAdded=n,this._additionsTail=n)}_addToChanges(n){null===this._changesHead?this._changesHead=this._changesTail=n:(this._changesTail._nextChanged=n,this._changesTail=n)}_forEach(n,t){n instanceof Map?n.forEach(t):Object.keys(n).forEach(r=>t(n[r],r))}}class AR{constructor(n){this.key=n,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function nb(){return new _c([new X_])}let _c=(()=>{class e{static{this.\u0275prov=R({token:e,providedIn:"root",factory:nb})}constructor(t){this.factories=t}static create(t,r){if(null!=r){const o=r.factories.slice();t=t.concat(o)}return new e(t)}static extend(t){return{provide:e,useFactory:r=>e.create(t,r||nb()),deps:[[e,new ma,new ga]]}}find(t){const r=this.factories.find(o=>o.supports(t));if(null!=r)return r;throw new M(901,!1)}}return e})();function rb(){return new ns([new tb])}let ns=(()=>{class e{static{this.\u0275prov=R({token:e,providedIn:"root",factory:rb})}constructor(t){this.factories=t}static create(t,r){if(r){const o=r.factories.slice();t=t.concat(o)}return new e(t)}static extend(t){return{provide:e,useFactory:r=>e.create(t,r||rb()),deps:[[e,new ma,new ga]]}}find(t){const r=this.factories.find(o=>o.supports(t));if(r)return r;throw new M(901,!1)}}return e})();const PR=j_(null,"core",[]);let OR=(()=>{class e{constructor(t){}static{this.\u0275fac=function(r){return new(r||e)(A(Ro))}}static{this.\u0275mod=et({type:e})}static{this.\u0275inj=Ze({})}}return e})();function No(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}let bf=null;function Xn(){return bf}class qR{}const Pt=new T("DocumentToken");let Df=(()=>{class e{historyGo(t){throw new Error("Not implemented")}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=R({token:e,factory:function(){return P(ZR)},providedIn:"platform"})}}return e})();const WR=new T("Location Initialized");let ZR=(()=>{class e extends Df{constructor(){super(),this._doc=P(Pt),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Xn().getBaseHref(this._doc)}onPopState(t){const r=Xn().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",t,!1),()=>r.removeEventListener("popstate",t)}onHashChange(t){const r=Xn().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",t,!1),()=>r.removeEventListener("hashchange",t)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(t){this._location.pathname=t}pushState(t,r,o){this._history.pushState(t,r,o)}replaceState(t,r,o){this._history.replaceState(t,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=R({token:e,factory:function(){return new e},providedIn:"platform"})}}return e})();function wf(e,n){if(0==e.length)return n;if(0==n.length)return e;let t=0;return e.endsWith("/")&&t++,n.startsWith("/")&&t++,2==t?e+n.substring(1):1==t?e+n:e+"/"+n}function fb(e){const n=e.match(/#|\?|$/),t=n&&n.index||e.length;return e.slice(0,t-("/"===e[t-1]?1:0))+e.slice(t)}function On(e){return e&&"?"!==e[0]?"?"+e:e}let br=(()=>{class e{historyGo(t){throw new Error("Not implemented")}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=R({token:e,factory:function(){return P(pb)},providedIn:"root"})}}return e})();const hb=new T("appBaseHref");let pb=(()=>{class e extends br{constructor(t,r){super(),this._platformLocation=t,this._removeListenerFns=[],this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??P(Pt).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return wf(this._baseHref,t)}path(t=!1){const r=this._platformLocation.pathname+On(this._platformLocation.search),o=this._platformLocation.hash;return o&&t?`${r}${o}`:r}pushState(t,r,o,i){const s=this.prepareExternalUrl(o+On(i));this._platformLocation.pushState(t,r,s)}replaceState(t,r,o,i){const s=this.prepareExternalUrl(o+On(i));this._platformLocation.replaceState(t,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}static{this.\u0275fac=function(r){return new(r||e)(A(Df),A(hb,8))}}static{this.\u0275prov=R({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),YR=(()=>{class e extends br{constructor(t,r){super(),this._platformLocation=t,this._baseHref="",this._removeListenerFns=[],null!=r&&(this._baseHref=r)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}path(t=!1){let r=this._platformLocation.hash;return null==r&&(r="#"),r.length>0?r.substring(1):r}prepareExternalUrl(t){const r=wf(this._baseHref,t);return r.length>0?"#"+r:r}pushState(t,r,o,i){let s=this.prepareExternalUrl(o+On(i));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(t,r,s)}replaceState(t,r,o,i){let s=this.prepareExternalUrl(o+On(i));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(t,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}static{this.\u0275fac=function(r){return new(r||e)(A(Df),A(hb,8))}}static{this.\u0275prov=R({token:e,factory:e.\u0275fac})}}return e})(),Ef=(()=>{class e{constructor(t){this._subject=new Se,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=t;const r=this._locationStrategy.getBaseHref();this._basePath=function XR(e){if(new RegExp("^(https?:)?//").test(e)){const[,t]=e.split(/\/\/[^\/]+/);return t}return e}(fb(gb(r))),this._locationStrategy.onPopState(o=>{this._subject.emit({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(t=!1){return this.normalize(this._locationStrategy.path(t))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(t,r=""){return this.path()==this.normalize(t+On(r))}normalize(t){return e.stripTrailingSlash(function KR(e,n){if(!e||!n.startsWith(e))return n;const t=n.substring(e.length);return""===t||["/",";","?","#"].includes(t[0])?t:n}(this._basePath,gb(t)))}prepareExternalUrl(t){return t&&"/"!==t[0]&&(t="/"+t),this._locationStrategy.prepareExternalUrl(t)}go(t,r="",o=null){this._locationStrategy.pushState(o,"",t,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+On(r)),o)}replaceState(t,r="",o=null){this._locationStrategy.replaceState(o,"",t,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+On(r)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(t=0){this._locationStrategy.historyGo?.(t)}onUrlChange(t){return this._urlChangeListeners.push(t),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)})),()=>{const r=this._urlChangeListeners.indexOf(t);this._urlChangeListeners.splice(r,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(t="",r){this._urlChangeListeners.forEach(o=>o(t,r))}subscribe(t,r,o){return this._subject.subscribe({next:t,error:r,complete:o})}static{this.normalizeQueryParams=On}static{this.joinWithSlash=wf}static{this.stripTrailingSlash=fb}static{this.\u0275fac=function(r){return new(r||e)(A(br))}}static{this.\u0275prov=R({token:e,factory:function(){return function QR(){return new Ef(A(br))}()},providedIn:"root"})}}return e})();function gb(e){return e.replace(/\/index.html$/,"")}var ut=function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e}(ut||{}),pe=function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e}(pe||{}),Ot=function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e}(Ot||{}),Oe=function(e){return e[e.Decimal=0]="Decimal",e[e.Group=1]="Group",e[e.List=2]="List",e[e.PercentSign=3]="PercentSign",e[e.PlusSign=4]="PlusSign",e[e.MinusSign=5]="MinusSign",e[e.Exponential=6]="Exponential",e[e.SuperscriptingExponent=7]="SuperscriptingExponent",e[e.PerMille=8]="PerMille",e[e.Infinity=9]="Infinity",e[e.NaN=10]="NaN",e[e.TimeSeparator=11]="TimeSeparator",e[e.CurrencyDecimal=12]="CurrencyDecimal",e[e.CurrencyGroup=13]="CurrencyGroup",e}(Oe||{});function wc(e,n){return Bt(ct(e)[ye.DateFormat],n)}function Ec(e,n){return Bt(ct(e)[ye.TimeFormat],n)}function Mc(e,n){return Bt(ct(e)[ye.DateTimeFormat],n)}function jt(e,n){const t=ct(e),r=t[ye.NumberSymbols][n];if(typeof r>"u"){if(n===Oe.CurrencyDecimal)return t[ye.NumberSymbols][Oe.Decimal];if(n===Oe.CurrencyGroup)return t[ye.NumberSymbols][Oe.Group]}return r}function vb(e){if(!e[ye.ExtraData])throw new Error(`Missing extra locale data for the locale "${e[ye.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Bt(e,n){for(let t=n;t>-1;t--)if(typeof e[t]<"u")return e[t];throw new Error("Locale data API: locale data undefined")}function Sf(e){const[n,t]=e.split(":");return{hours:+n,minutes:+t}}const fN=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,rs={},hN=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var Rn=function(e){return e[e.Short=0]="Short",e[e.ShortGMT=1]="ShortGMT",e[e.Long=2]="Long",e[e.Extended=3]="Extended",e}(Rn||{}),oe=function(e){return e[e.FullYear=0]="FullYear",e[e.Month=1]="Month",e[e.Date=2]="Date",e[e.Hours=3]="Hours",e[e.Minutes=4]="Minutes",e[e.Seconds=5]="Seconds",e[e.FractionalSeconds=6]="FractionalSeconds",e[e.Day=7]="Day",e}(oe||{}),ie=function(e){return e[e.DayPeriods=0]="DayPeriods",e[e.Days=1]="Days",e[e.Months=2]="Months",e[e.Eras=3]="Eras",e}(ie||{});function pN(e,n,t,r){let o=function wN(e){if(_b(e))return e;if("number"==typeof e&&!isNaN(e))return new Date(e);if("string"==typeof e){if(e=e.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(e)){const[o,i=1,s=1]=e.split("-").map(a=>+a);return Sc(o,i-1,s)}const t=parseFloat(e);if(!isNaN(e-t))return new Date(t);let r;if(r=e.match(fN))return function EN(e){const n=new Date(0);let t=0,r=0;const o=e[8]?n.setUTCFullYear:n.setFullYear,i=e[8]?n.setUTCHours:n.setHours;e[9]&&(t=Number(e[9]+e[10]),r=Number(e[9]+e[11])),o.call(n,Number(e[1]),Number(e[2])-1,Number(e[3]));const s=Number(e[4]||0)-t,a=Number(e[5]||0)-r,c=Number(e[6]||0),l=Math.floor(1e3*parseFloat("0."+(e[7]||0)));return i.call(n,s,a,c,l),n}(r)}const n=new Date(e);if(!_b(n))throw new Error(`Unable to convert "${e}" into a date`);return n}(e);n=Nn(t,n)||n;let a,s=[];for(;n;){if(a=hN.exec(n),!a){s.push(n);break}{s=s.concat(a.slice(1));const u=s.pop();if(!u)break;n=u}}let c=o.getTimezoneOffset();r&&(c=Cb(r,c),o=function DN(e,n,t){const r=t?-1:1,o=e.getTimezoneOffset();return function bN(e,n){return(e=new Date(e.getTime())).setMinutes(e.getMinutes()+n),e}(e,r*(Cb(n,o)-o))}(o,r,!0));let l="";return s.forEach(u=>{const d=function _N(e){if(Af[e])return Af[e];let n;switch(e){case"G":case"GG":case"GGG":n=Ce(ie.Eras,pe.Abbreviated);break;case"GGGG":n=Ce(ie.Eras,pe.Wide);break;case"GGGGG":n=Ce(ie.Eras,pe.Narrow);break;case"y":n=Ne(oe.FullYear,1,0,!1,!0);break;case"yy":n=Ne(oe.FullYear,2,0,!0,!0);break;case"yyy":n=Ne(oe.FullYear,3,0,!1,!0);break;case"yyyy":n=Ne(oe.FullYear,4,0,!1,!0);break;case"Y":n=xc(1);break;case"YY":n=xc(2,!0);break;case"YYY":n=xc(3);break;case"YYYY":n=xc(4);break;case"M":case"L":n=Ne(oe.Month,1,1);break;case"MM":case"LL":n=Ne(oe.Month,2,1);break;case"MMM":n=Ce(ie.Months,pe.Abbreviated);break;case"MMMM":n=Ce(ie.Months,pe.Wide);break;case"MMMMM":n=Ce(ie.Months,pe.Narrow);break;case"LLL":n=Ce(ie.Months,pe.Abbreviated,ut.Standalone);break;case"LLLL":n=Ce(ie.Months,pe.Wide,ut.Standalone);break;case"LLLLL":n=Ce(ie.Months,pe.Narrow,ut.Standalone);break;case"w":n=If(1);break;case"ww":n=If(2);break;case"W":n=If(1,!0);break;case"d":n=Ne(oe.Date,1);break;case"dd":n=Ne(oe.Date,2);break;case"c":case"cc":n=Ne(oe.Day,1);break;case"ccc":n=Ce(ie.Days,pe.Abbreviated,ut.Standalone);break;case"cccc":n=Ce(ie.Days,pe.Wide,ut.Standalone);break;case"ccccc":n=Ce(ie.Days,pe.Narrow,ut.Standalone);break;case"cccccc":n=Ce(ie.Days,pe.Short,ut.Standalone);break;case"E":case"EE":case"EEE":n=Ce(ie.Days,pe.Abbreviated);break;case"EEEE":n=Ce(ie.Days,pe.Wide);break;case"EEEEE":n=Ce(ie.Days,pe.Narrow);break;case"EEEEEE":n=Ce(ie.Days,pe.Short);break;case"a":case"aa":case"aaa":n=Ce(ie.DayPeriods,pe.Abbreviated);break;case"aaaa":n=Ce(ie.DayPeriods,pe.Wide);break;case"aaaaa":n=Ce(ie.DayPeriods,pe.Narrow);break;case"b":case"bb":case"bbb":n=Ce(ie.DayPeriods,pe.Abbreviated,ut.Standalone,!0);break;case"bbbb":n=Ce(ie.DayPeriods,pe.Wide,ut.Standalone,!0);break;case"bbbbb":n=Ce(ie.DayPeriods,pe.Narrow,ut.Standalone,!0);break;case"B":case"BB":case"BBB":n=Ce(ie.DayPeriods,pe.Abbreviated,ut.Format,!0);break;case"BBBB":n=Ce(ie.DayPeriods,pe.Wide,ut.Format,!0);break;case"BBBBB":n=Ce(ie.DayPeriods,pe.Narrow,ut.Format,!0);break;case"h":n=Ne(oe.Hours,1,-12);break;case"hh":n=Ne(oe.Hours,2,-12);break;case"H":n=Ne(oe.Hours,1);break;case"HH":n=Ne(oe.Hours,2);break;case"m":n=Ne(oe.Minutes,1);break;case"mm":n=Ne(oe.Minutes,2);break;case"s":n=Ne(oe.Seconds,1);break;case"ss":n=Ne(oe.Seconds,2);break;case"S":n=Ne(oe.FractionalSeconds,1);break;case"SS":n=Ne(oe.FractionalSeconds,2);break;case"SSS":n=Ne(oe.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":n=Ac(Rn.Short);break;case"ZZZZZ":n=Ac(Rn.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":n=Ac(Rn.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":n=Ac(Rn.Long);break;default:return null}return Af[e]=n,n}(u);l+=d?d(o,t,c):"''"===u?"'":u.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),l}function Sc(e,n,t){const r=new Date(0);return r.setFullYear(e,n,t),r.setHours(0,0,0),r}function Nn(e,n){const t=function eN(e){return ct(e)[ye.LocaleId]}(e);if(rs[t]=rs[t]||{},rs[t][n])return rs[t][n];let r="";switch(n){case"shortDate":r=wc(e,Ot.Short);break;case"mediumDate":r=wc(e,Ot.Medium);break;case"longDate":r=wc(e,Ot.Long);break;case"fullDate":r=wc(e,Ot.Full);break;case"shortTime":r=Ec(e,Ot.Short);break;case"mediumTime":r=Ec(e,Ot.Medium);break;case"longTime":r=Ec(e,Ot.Long);break;case"fullTime":r=Ec(e,Ot.Full);break;case"short":const o=Nn(e,"shortTime"),i=Nn(e,"shortDate");r=Ic(Mc(e,Ot.Short),[o,i]);break;case"medium":const s=Nn(e,"mediumTime"),a=Nn(e,"mediumDate");r=Ic(Mc(e,Ot.Medium),[s,a]);break;case"long":const c=Nn(e,"longTime"),l=Nn(e,"longDate");r=Ic(Mc(e,Ot.Long),[c,l]);break;case"full":const u=Nn(e,"fullTime"),d=Nn(e,"fullDate");r=Ic(Mc(e,Ot.Full),[u,d])}return r&&(rs[t][n]=r),r}function Ic(e,n){return n&&(e=e.replace(/\{([^}]+)}/g,function(t,r){return null!=n&&r in n?n[r]:t})),e}function Yt(e,n,t="-",r,o){let i="";(e<0||o&&e<=0)&&(o?e=1-e:(e=-e,i=t));let s=String(e);for(;s.length0||a>-t)&&(a+=t),e===oe.Hours)0===a&&-12===t&&(a=12);else if(e===oe.FractionalSeconds)return function gN(e,n){return Yt(e,3).substring(0,n)}(a,n);const c=jt(s,Oe.MinusSign);return Yt(a,n,c,r,o)}}function Ce(e,n,t=ut.Format,r=!1){return function(o,i){return function vN(e,n,t,r,o,i){switch(t){case ie.Months:return function rN(e,n,t){const r=ct(e),i=Bt([r[ye.MonthsFormat],r[ye.MonthsStandalone]],n);return Bt(i,t)}(n,o,r)[e.getMonth()];case ie.Days:return function nN(e,n,t){const r=ct(e),i=Bt([r[ye.DaysFormat],r[ye.DaysStandalone]],n);return Bt(i,t)}(n,o,r)[e.getDay()];case ie.DayPeriods:const s=e.getHours(),a=e.getMinutes();if(i){const l=function aN(e){const n=ct(e);return vb(n),(n[ye.ExtraData][2]||[]).map(r=>"string"==typeof r?Sf(r):[Sf(r[0]),Sf(r[1])])}(n),u=function cN(e,n,t){const r=ct(e);vb(r);const i=Bt([r[ye.ExtraData][0],r[ye.ExtraData][1]],n)||[];return Bt(i,t)||[]}(n,o,r),d=l.findIndex(f=>{if(Array.isArray(f)){const[g,v]=f,y=s>=g.hours&&a>=g.minutes,b=s0?Math.floor(o/60):Math.ceil(o/60);switch(e){case Rn.Short:return(o>=0?"+":"")+Yt(s,2,i)+Yt(Math.abs(o%60),2,i);case Rn.ShortGMT:return"GMT"+(o>=0?"+":"")+Yt(s,1,i);case Rn.Long:return"GMT"+(o>=0?"+":"")+Yt(s,2,i)+":"+Yt(Math.abs(o%60),2,i);case Rn.Extended:return 0===r?"Z":(o>=0?"+":"")+Yt(s,2,i)+":"+Yt(Math.abs(o%60),2,i);default:throw new Error(`Unknown zone width "${e}"`)}}}const yN=0,Tc=4;function yb(e){return Sc(e.getFullYear(),e.getMonth(),e.getDate()+(Tc-e.getDay()))}function If(e,n=!1){return function(t,r){let o;if(n){const i=new Date(t.getFullYear(),t.getMonth(),1).getDay()-1,s=t.getDate();o=1+Math.floor((s+i)/7)}else{const i=yb(t),s=function CN(e){const n=Sc(e,yN,1).getDay();return Sc(e,0,1+(n<=Tc?Tc:Tc+7)-n)}(i.getFullYear()),a=i.getTime()-s.getTime();o=1+Math.round(a/6048e5)}return Yt(o,e,jt(r,Oe.MinusSign))}}function xc(e,n=!1){return function(t,r){return Yt(yb(t).getFullYear(),e,jt(r,Oe.MinusSign),n)}}const Af={};function Cb(e,n){e=e.replace(/:/g,"");const t=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(t)?n:t}function _b(e){return e instanceof Date&&!isNaN(e.valueOf())}function Eb(e,n){n=encodeURIComponent(n);for(const t of e.split(";")){const r=t.indexOf("="),[o,i]=-1==r?[t,""]:[t.slice(0,r),t.slice(r+1)];if(o.trim()===n)return decodeURIComponent(i)}return null}const Nf=/\s+/,Mb=[];let Ff=(()=>{class e{constructor(t,r,o,i){this._iterableDiffers=t,this._keyValueDiffers=r,this._ngEl=o,this._renderer=i,this.initialClasses=Mb,this.stateMap=new Map}set klass(t){this.initialClasses=null!=t?t.trim().split(Nf):Mb}set ngClass(t){this.rawClass="string"==typeof t?t.trim().split(Nf):t}ngDoCheck(){for(const r of this.initialClasses)this._updateState(r,!0);const t=this.rawClass;if(Array.isArray(t)||t instanceof Set)for(const r of t)this._updateState(r,!0);else if(null!=t)for(const r of Object.keys(t))this._updateState(r,!!t[r]);this._applyStateDiff()}_updateState(t,r){const o=this.stateMap.get(t);void 0!==o?(o.enabled!==r&&(o.changed=!0,o.enabled=r),o.touched=!0):this.stateMap.set(t,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(const t of this.stateMap){const r=t[0],o=t[1];o.changed?(this._toggleClass(r,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(r,!1),this.stateMap.delete(r)),o.touched=!1}}_toggleClass(t,r){(t=t.trim()).length>0&&t.split(Nf).forEach(o=>{r?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}static{this.\u0275fac=function(r){return new(r||e)(C(_c),C(ns),C(vt),C(En))}}static{this.\u0275dir=j({type:e,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0})}}return e})();class LN{constructor(n,t,r,o){this.$implicit=n,this.ngForOf=t,this.index=r,this.count=o}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let Dr=(()=>{class e{set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}constructor(t,r,o){this._viewContainer=t,this._template=r,this._differs=o,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const t=this._ngForOf;!this._differ&&t&&(this._differ=this._differs.find(t).create(this.ngForTrackBy))}if(this._differ){const t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){const r=this._viewContainer;t.forEachOperation((o,i,s)=>{if(null==o.previousIndex)r.createEmbeddedView(this._template,new LN(o.item,this._ngForOf,-1,-1),null===s?void 0:s);else if(null==s)r.remove(null===i?void 0:i);else if(null!==i){const a=r.get(i);r.move(a,s),Ib(a,o)}});for(let o=0,i=r.length;o{Ib(r.get(o.currentIndex),o)})}static ngTemplateContextGuard(t,r){return!0}static{this.\u0275fac=function(r){return new(r||e)(C(Zt),C(Tn),C(_c))}}static{this.\u0275dir=j({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}}return e})();function Ib(e,n){e.context.$implicit=n.item}let wr=(()=>{class e{constructor(t,r){this._viewContainer=t,this._context=new VN,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=r}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){Ab("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){Ab("ngIfElse",t),this._elseTemplateRef=t,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(t,r){return!0}static{this.\u0275fac=function(r){return new(r||e)(C(Zt),C(Tn))}}static{this.\u0275dir=j({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}}return e})();class VN{constructor(){this.$implicit=null,this.ngIf=null}}function Ab(e,n){if(n&&!n.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${ke(n)}'.`)}const KN=new T("DATE_PIPE_DEFAULT_TIMEZONE"),XN=new T("DATE_PIPE_DEFAULT_OPTIONS");let Vf=(()=>{class e{constructor(t,r,o){this.locale=t,this.defaultTimezone=r,this.defaultOptions=o}transform(t,r,o,i){if(null==t||""===t||t!=t)return null;try{return pN(t,r??this.defaultOptions?.dateFormat??"mediumDate",i||this.locale,o??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(s){throw function Qt(e,n){return new M(2100,!1)}()}}static{this.\u0275fac=function(r){return new(r||e)(C(xn,16),C(KN,24),C(XN,24))}}static{this.\u0275pipe=tt({name:"date",type:e,pure:!0,standalone:!0})}}return e})(),Pb=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275mod=et({type:e})}static{this.\u0275inj=Ze({})}}return e})();const Ob="browser";function Rb(e){return"server"===e}let Nb=(()=>{class e{static{this.\u0275prov=R({token:e,providedIn:"root",factory:()=>new fF(A(Pt),window)})}}return e})();class fF{constructor(n,t){this.document=n,this.window=t,this.offset=()=>[0,0]}setOffset(n){this.offset=Array.isArray(n)?()=>n:n}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(n){this.supportsScrolling()&&this.window.scrollTo(n[0],n[1])}scrollToAnchor(n){if(!this.supportsScrolling())return;const t=function hF(e,n){const t=e.getElementById(n)||e.getElementsByName(n)[0];if(t)return t;if("function"==typeof e.createTreeWalker&&e.body&&"function"==typeof e.body.attachShadow){const r=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT);let o=r.currentNode;for(;o;){const i=o.shadowRoot;if(i){const s=i.getElementById(n)||i.querySelector(`[name="${n}"]`);if(s)return s}o=r.nextNode()}}return null}(this.document,n);t&&(this.scrollToElement(t),t.focus())}setHistoryScrollRestoration(n){this.supportsScrolling()&&(this.window.history.scrollRestoration=n)}scrollToElement(n){const t=n.getBoundingClientRect(),r=t.left+this.window.pageXOffset,o=t.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(r-i[0],o-i[1])}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}class Fb{}class kF extends qR{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class Hf extends kF{static makeCurrent(){!function GR(e){bf||(bf=e)}(new Hf)}onAndCancel(n,t,r){return n.addEventListener(t,r),()=>{n.removeEventListener(t,r)}}dispatchEvent(n,t){n.dispatchEvent(t)}remove(n){n.parentNode&&n.parentNode.removeChild(n)}createElement(n,t){return(t=t||this.getDefaultDocument()).createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,t){return"window"===t?window:"document"===t?n:"body"===t?n.body:null}getBaseHref(n){const t=function LF(){return ss=ss||document.querySelector("base"),ss?ss.getAttribute("href"):null}();return null==t?null:function VF(e){Nc=Nc||document.createElement("a"),Nc.setAttribute("href",e);const n=Nc.pathname;return"/"===n.charAt(0)?n:`/${n}`}(t)}resetBaseElement(){ss=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return Eb(document.cookie,n)}}let Nc,ss=null,BF=(()=>{class e{build(){return new XMLHttpRequest}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=R({token:e,factory:e.\u0275fac})}}return e})();const zf=new T("EventManagerPlugins");let Bb=(()=>{class e{constructor(t,r){this._zone=r,this._eventNameToPlugin=new Map,t.forEach(o=>{o.manager=this}),this._plugins=t.slice().reverse()}addEventListener(t,r,o){return this._findPluginFor(r).addEventListener(t,r,o)}getZone(){return this._zone}_findPluginFor(t){let r=this._eventNameToPlugin.get(t);if(r)return r;if(r=this._plugins.find(i=>i.supports(t)),!r)throw new M(5101,!1);return this._eventNameToPlugin.set(t,r),r}static{this.\u0275fac=function(r){return new(r||e)(A(zf),A(ce))}}static{this.\u0275prov=R({token:e,factory:e.\u0275fac})}}return e})();class $b{constructor(n){this._doc=n}}const Gf="ng-app-id";let Ub=(()=>{class e{constructor(t,r,o,i={}){this.doc=t,this.appId=r,this.nonce=o,this.platformId=i,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=Rb(i),this.resetHostNodes()}addStyles(t){for(const r of t)1===this.changeUsageCount(r,1)&&this.onStyleAdded(r)}removeStyles(t){for(const r of t)this.changeUsageCount(r,-1)<=0&&this.onStyleRemoved(r)}ngOnDestroy(){const t=this.styleNodesInDOM;t&&(t.forEach(r=>r.remove()),t.clear());for(const r of this.getAllStyles())this.onStyleRemoved(r);this.resetHostNodes()}addHost(t){this.hostNodes.add(t);for(const r of this.getAllStyles())this.addStyleToHost(t,r)}removeHost(t){this.hostNodes.delete(t)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(t){for(const r of this.hostNodes)this.addStyleToHost(r,t)}onStyleRemoved(t){const r=this.styleRef;r.get(t)?.elements?.forEach(o=>o.remove()),r.delete(t)}collectServerRenderedStyles(){const t=this.doc.head?.querySelectorAll(`style[${Gf}="${this.appId}"]`);if(t?.length){const r=new Map;return t.forEach(o=>{null!=o.textContent&&r.set(o.textContent,o)}),r}return null}changeUsageCount(t,r){const o=this.styleRef;if(o.has(t)){const i=o.get(t);return i.usage+=r,i.usage}return o.set(t,{usage:r,elements:[]}),r}getStyleElement(t,r){const o=this.styleNodesInDOM,i=o?.get(r);if(i?.parentNode===t)return o.delete(r),i.removeAttribute(Gf),i;{const s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=r,this.platformIsServer&&s.setAttribute(Gf,this.appId),s}}addStyleToHost(t,r){const o=this.getStyleElement(t,r);t.appendChild(o);const i=this.styleRef,s=i.get(r)?.elements;s?s.push(o):i.set(r,{elements:[o],usage:1})}resetHostNodes(){const t=this.hostNodes;t.clear(),t.add(this.doc.head)}static{this.\u0275fac=function(r){return new(r||e)(A(Pt),A(ka),A(Gm,8),A(Yn))}}static{this.\u0275prov=R({token:e,factory:e.\u0275fac})}}return e})();const qf={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},Wf=/%COMP%/g,zF=new T("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!1});function zb(e,n){return n.map(t=>t.replace(Wf,e))}let Gb=(()=>{class e{constructor(t,r,o,i,s,a,c,l=null){this.eventManager=t,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestroy=i,this.doc=s,this.platformId=a,this.ngZone=c,this.nonce=l,this.rendererByCompId=new Map,this.platformIsServer=Rb(a),this.defaultRenderer=new Zf(t,s,c,this.platformIsServer)}createRenderer(t,r){if(!t||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===Ut.ShadowDom&&(r={...r,encapsulation:Ut.Emulated});const o=this.getOrCreateRenderer(t,r);return o instanceof Wb?o.applyToHost(t):o instanceof Yf&&o.applyStyles(),o}getOrCreateRenderer(t,r){const o=this.rendererByCompId;let i=o.get(r.id);if(!i){const s=this.doc,a=this.ngZone,c=this.eventManager,l=this.sharedStylesHost,u=this.removeStylesOnCompDestroy,d=this.platformIsServer;switch(r.encapsulation){case Ut.Emulated:i=new Wb(c,l,r,this.appId,u,s,a,d);break;case Ut.ShadowDom:return new ZF(c,l,t,r,s,a,this.nonce,d);default:i=new Yf(c,l,r,u,s,a,d)}o.set(r.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}static{this.\u0275fac=function(r){return new(r||e)(A(Bb),A(Ub),A(ka),A(zF),A(Pt),A(Yn),A(ce),A(Gm))}}static{this.\u0275prov=R({token:e,factory:e.\u0275fac})}}return e})();class Zf{constructor(n,t,r,o){this.eventManager=n,this.doc=t,this.ngZone=r,this.platformIsServer=o,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(n,t){return t?this.doc.createElementNS(qf[t]||t,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,t){(qb(n)?n.content:n).appendChild(t)}insertBefore(n,t,r){n&&(qb(n)?n.content:n).insertBefore(t,r)}removeChild(n,t){n&&n.removeChild(t)}selectRootElement(n,t){let r="string"==typeof n?this.doc.querySelector(n):n;if(!r)throw new M(-5104,!1);return t||(r.textContent=""),r}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,t,r,o){if(o){t=o+":"+t;const i=qf[o];i?n.setAttributeNS(i,t,r):n.setAttribute(t,r)}else n.setAttribute(t,r)}removeAttribute(n,t,r){if(r){const o=qf[r];o?n.removeAttributeNS(o,t):n.removeAttribute(`${r}:${t}`)}else n.removeAttribute(t)}addClass(n,t){n.classList.add(t)}removeClass(n,t){n.classList.remove(t)}setStyle(n,t,r,o){o&(qn.DashCase|qn.Important)?n.style.setProperty(t,r,o&qn.Important?"important":""):n.style[t]=r}removeStyle(n,t,r){r&qn.DashCase?n.style.removeProperty(t):n.style[t]=""}setProperty(n,t,r){n[t]=r}setValue(n,t){n.nodeValue=t}listen(n,t,r){if("string"==typeof n&&!(n=Xn().getGlobalEventTarget(this.doc,n)))throw new Error(`Unsupported event target ${n} for event ${t}`);return this.eventManager.addEventListener(n,t,this.decoratePreventDefault(r))}decoratePreventDefault(n){return t=>{if("__ngUnwrap__"===t)return n;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>n(t)):n(t))&&t.preventDefault()}}}function qb(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class ZF extends Zf{constructor(n,t,r,o,i,s,a,c){super(n,i,s,c),this.sharedStylesHost=t,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const l=zb(o.id,o.styles);for(const u of l){const d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=u,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(n){return n===this.hostEl?this.shadowRoot:n}appendChild(n,t){return super.appendChild(this.nodeOrShadowRoot(n),t)}insertBefore(n,t,r){return super.insertBefore(this.nodeOrShadowRoot(n),t,r)}removeChild(n,t){return super.removeChild(this.nodeOrShadowRoot(n),t)}parentNode(n){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(n)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Yf extends Zf{constructor(n,t,r,o,i,s,a,c){super(n,i,s,a),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=o,this.styles=c?zb(c,r.styles):r.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class Wb extends Yf{constructor(n,t,r,o,i,s,a,c){const l=o+"-"+r.id;super(n,t,r,i,s,a,c,l),this.contentAttr=function GF(e){return"_ngcontent-%COMP%".replace(Wf,e)}(l),this.hostAttr=function qF(e){return"_nghost-%COMP%".replace(Wf,e)}(l)}applyToHost(n){this.applyStyles(),this.setAttribute(n,this.hostAttr,"")}createElement(n,t){const r=super.createElement(n,t);return super.setAttribute(r,this.contentAttr,""),r}}let YF=(()=>{class e extends $b{constructor(t){super(t)}supports(t){return!0}addEventListener(t,r,o){return t.addEventListener(r,o,!1),()=>this.removeEventListener(t,r,o)}removeEventListener(t,r,o){return t.removeEventListener(r,o)}static{this.\u0275fac=function(r){return new(r||e)(A(Pt))}}static{this.\u0275prov=R({token:e,factory:e.\u0275fac})}}return e})();const Zb=["alt","control","meta","shift"],QF={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},KF={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let XF=(()=>{class e extends $b{constructor(t){super(t)}supports(t){return null!=e.parseEventName(t)}addEventListener(t,r,o){const i=e.parseEventName(r),s=e.eventCallback(i.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Xn().onAndCancel(t,i.domEventName,s))}static parseEventName(t){const r=t.toLowerCase().split("."),o=r.shift();if(0===r.length||"keydown"!==o&&"keyup"!==o)return null;const i=e._normalizeKey(r.pop());let s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),Zb.forEach(l=>{const u=r.indexOf(l);u>-1&&(r.splice(u,1),s+=l+".")}),s+=i,0!=r.length||0===i.length)return null;const c={};return c.domEventName=o,c.fullKey=s,c}static matchEventFullKeyCode(t,r){let o=QF[t.key]||t.key,i="";return r.indexOf("code.")>-1&&(o=t.code,i="code."),!(null==o||!o)&&(o=o.toLowerCase()," "===o?o="space":"."===o&&(o="dot"),Zb.forEach(s=>{s!==o&&(0,KF[s])(t)&&(i+=s+".")}),i+=o,i===r)}static eventCallback(t,r,o){return i=>{e.matchEventFullKeyCode(i,t)&&o.runGuarded(()=>r(i))}}static _normalizeKey(t){return"esc"===t?"escape":t}static{this.\u0275fac=function(r){return new(r||e)(A(Pt))}}static{this.\u0275prov=R({token:e,factory:e.\u0275fac})}}return e})();const nk=j_(PR,"browser",[{provide:Yn,useValue:Ob},{provide:zm,useValue:function JF(){Hf.makeCurrent()},multi:!0},{provide:Pt,useFactory:function tk(){return function BI(e){Fu=e}(document),document},deps:[]}]),rk=new T(""),Kb=[{provide:mc,useClass:class jF{addToWindow(n){me.getAngularTestability=(r,o=!0)=>{const i=n.findTestabilityInTree(r,o);if(null==i)throw new M(5103,!1);return i},me.getAllAngularTestabilities=()=>n.getAllTestabilities(),me.getAllAngularRootElements=()=>n.getAllRootElements(),me.frameworkStabilizers||(me.frameworkStabilizers=[]),me.frameworkStabilizers.push(r=>{const o=me.getAllAngularTestabilities();let i=o.length,s=!1;const a=function(c){s=s||c,i--,0==i&&r(s)};o.forEach(c=>{c.whenStable(a)})})}findTestabilityInTree(n,t,r){return null==t?null:n.getTestability(t)??(r?Xn().isShadowRoot(t)?this.findTestabilityInTree(n,t.host,!0):this.findTestabilityInTree(n,t.parentElement,!0):null)}},deps:[]},{provide:N_,useClass:uf,deps:[ce,df,mc]},{provide:uf,useClass:uf,deps:[ce,df,mc]}],Xb=[{provide:Gu,useValue:"root"},{provide:Mn,useFactory:function ek(){return new Mn},deps:[]},{provide:zf,useClass:YF,multi:!0,deps:[Pt,ce,Yn]},{provide:zf,useClass:XF,multi:!0,deps:[Pt]},Gb,Ub,Bb,{provide:Km,useExisting:Gb},{provide:Fb,useClass:BF,deps:[]},[]];let ok=(()=>{class e{constructor(t){}static withServerTransition(t){return{ngModule:e,providers:[{provide:ka,useValue:t.appId}]}}static{this.\u0275fac=function(r){return new(r||e)(A(rk,12))}}static{this.\u0275mod=et({type:e})}static{this.\u0275inj=Ze({providers:[...Xb,...Kb],imports:[Pb,OR]})}}return e})(),Jb=(()=>{class e{constructor(t){this._doc=t}getTitle(){return this._doc.title}setTitle(t){this._doc.title=t||""}static{this.\u0275fac=function(r){return new(r||e)(A(Pt))}}static{this.\u0275prov=R({token:e,factory:function(r){let o=null;return o=r?new r:function sk(){return new Jb(A(Pt))}(),o},providedIn:"root"})}}return e})();typeof window<"u"&&window;const{isArray:fk}=Array,{getPrototypeOf:hk,prototype:pk,keys:gk}=Object;function rD(e){if(1===e.length){const n=e[0];if(fk(n))return{args:n,keys:null};if(function mk(e){return e&&"object"==typeof e&&hk(e)===pk}(n)){const t=gk(n);return{args:t.map(r=>n[r]),keys:t}}}return{args:e,keys:null}}const{isArray:vk}=Array;function oD(e){return ne(n=>function yk(e,n){return vk(n)?e(...n):e(n)}(e,n))}function iD(e,n){return e.reduce((t,r,o)=>(t[r]=n[o],t),{})}function Kf(...e){const n=ri(e),t=hp(e),{args:r,keys:o}=rD(e);if(0===r.length)return Te([],n);const i=new Ae(function Ck(e,n,t=Ln){return r=>{sD(n,()=>{const{length:o}=e,i=new Array(o);let s=o,a=o;for(let c=0;c{const l=Te(e[c],n);let u=!1;l.subscribe(Re(r,d=>{i[c]=d,u||(u=!0,a--),a||r.next(t(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}(r,n,o?s=>iD(o,s):Ln));return t?i.pipe(oD(t)):i}function sD(e,n,t){e?vn(t,e,n):n()}const Fc=ei(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function Xf(...e){return function _k(){return kr(1)}()(Te(e,ri(e)))}function aD(e){return new Ae(n=>{Rt(e()).subscribe(n)})}function _t(e,n){const t=de(e)?e:()=>e,r=o=>o.error(t());return new Ae(n?o=>n.schedule(r,0,o):r)}function Jf(){return Fe((e,n)=>{let t=null;e._refCount++;const r=Re(n,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount)return void(t=null);const o=e._connection,i=t;t=null,o&&(!i||o===i)&&o.unsubscribe(),n.unsubscribe()});e.subscribe(r),r.closed||(t=e.connect())})}class cD extends Ae{constructor(n,t){super(),this.source=n,this.subjectFactory=t,this._subject=null,this._refCount=0,this._connection=null,Xh(n)&&(this.lift=n.lift)}_subscribe(n){return this.getSubject().subscribe(n)}getSubject(){const n=this._subject;return(!n||n.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:n}=this;this._subject=this._connection=null,n?.unsubscribe()}connect(){let n=this._connection;if(!n){n=this._connection=new bt;const t=this.getSubject();n.add(this.source.subscribe(Re(t,void 0,()=>{this._teardown(),t.complete()},r=>{this._teardown(),t.error(r)},()=>this._teardown()))),n.closed&&(this._connection=null,n=bt.EMPTY)}return n}refCount(){return Jf()(this)}}function ko(e){return e<=0?()=>Jt:Fe((n,t)=>{let r=0;n.subscribe(Re(t,o=>{++r<=e&&(t.next(o),e<=r&&t.complete())}))})}function $t(e,n){return Fe((t,r)=>{let o=0;t.subscribe(Re(r,i=>e.call(n,i,o++)&&r.next(i)))})}function kc(e){return Fe((n,t)=>{let r=!1;n.subscribe(Re(t,o=>{r=!0,t.next(o)},()=>{r||t.next(e),t.complete()}))})}function lD(e=Dk){return Fe((n,t)=>{let r=!1;n.subscribe(Re(t,o=>{r=!0,t.next(o)},()=>r?t.complete():t.error(e())))})}function Dk(){return new Fc}function Er(e,n){const t=arguments.length>=2;return r=>r.pipe(e?$t((o,i)=>e(o,i,r)):Ln,ko(1),t?kc(n):lD(()=>new Fc))}function Lo(e,n){return de(n)?$e(e,n,1):$e(e,1)}function We(e,n,t){const r=de(e)||n||t?{next:e,error:n,complete:t}:e;return r?Fe((o,i)=>{var s;null===(s=r.subscribe)||void 0===s||s.call(r);let a=!0;o.subscribe(Re(i,c=>{var l;null===(l=r.next)||void 0===l||l.call(r,c),i.next(c)},()=>{var c;a=!1,null===(c=r.complete)||void 0===c||c.call(r),i.complete()},c=>{var l;a=!1,null===(l=r.error)||void 0===l||l.call(r,c),i.error(c)},()=>{var c,l;a&&(null===(c=r.unsubscribe)||void 0===c||c.call(r)),null===(l=r.finalize)||void 0===l||l.call(r)}))}):Ln}function we(e){return Fe((n,t)=>{let i,r=null,o=!1;r=n.subscribe(Re(t,void 0,void 0,s=>{i=Rt(e(s,we(e)(n))),r?(r.unsubscribe(),r=null,i.subscribe(t)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(t))})}function eh(e){return e<=0?()=>Jt:Fe((n,t)=>{let r=[];n.subscribe(Re(t,o=>{r.push(o),e{for(const o of r)t.next(o);t.complete()},void 0,()=>{r=null}))})}function Vo(e){return Fe((n,t)=>{try{n.subscribe(t)}finally{t.add(e)}})}const Z="primary",as=Symbol("RouteTitle");class Ak{constructor(n){this.params=n||{}}has(n){return Object.prototype.hasOwnProperty.call(this.params,n)}get(n){if(this.has(n)){const t=this.params[n];return Array.isArray(t)?t[0]:t}return null}getAll(n){if(this.has(n)){const t=this.params[n];return Array.isArray(t)?t:[t]}return[]}get keys(){return Object.keys(this.params)}}function jo(e){return new Ak(e)}function Tk(e,n,t){const r=t.path.split("/");if(r.length>e.length||"full"===t.pathMatch&&(n.hasChildren()||r.lengthr[i]===o)}return e===n}function dD(e){return e.length>0?e[e.length-1]:null}function er(e){return function dk(e){return!!e&&(e instanceof Ae||de(e.lift)&&de(e.subscribe))}(e)?e:zi(e)?Te(Promise.resolve(e)):F(e)}const Pk={exact:function pD(e,n,t){if(!Mr(e.segments,n.segments)||!Lc(e.segments,n.segments,t)||e.numberOfChildren!==n.numberOfChildren)return!1;for(const r in n.children)if(!e.children[r]||!pD(e.children[r],n.children[r],t))return!1;return!0},subset:gD},fD={exact:function Ok(e,n){return fn(e,n)},subset:function Rk(e,n){return Object.keys(n).length<=Object.keys(e).length&&Object.keys(n).every(t=>uD(e[t],n[t]))},ignored:()=>!0};function hD(e,n,t){return Pk[t.paths](e.root,n.root,t.matrixParams)&&fD[t.queryParams](e.queryParams,n.queryParams)&&!("exact"===t.fragment&&e.fragment!==n.fragment)}function gD(e,n,t){return mD(e,n,n.segments,t)}function mD(e,n,t,r){if(e.segments.length>t.length){const o=e.segments.slice(0,t.length);return!(!Mr(o,t)||n.hasChildren()||!Lc(o,t,r))}if(e.segments.length===t.length){if(!Mr(e.segments,t)||!Lc(e.segments,t,r))return!1;for(const o in n.children)if(!e.children[o]||!gD(e.children[o],n.children[o],r))return!1;return!0}{const o=t.slice(0,e.segments.length),i=t.slice(e.segments.length);return!!(Mr(e.segments,o)&&Lc(e.segments,o,r)&&e.children[Z])&&mD(e.children[Z],n,i,r)}}function Lc(e,n,t){return n.every((r,o)=>fD[t](e[o].parameters,r.parameters))}class Bo{constructor(n=new ue([],{}),t={},r=null){this.root=n,this.queryParams=t,this.fragment=r}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=jo(this.queryParams)),this._queryParamMap}toString(){return kk.serialize(this)}}class ue{constructor(n,t){this.segments=n,this.children=t,this.parent=null,Object.values(t).forEach(r=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Vc(this)}}class cs{constructor(n,t){this.path=n,this.parameters=t}get parameterMap(){return this._parameterMap||(this._parameterMap=jo(this.parameters)),this._parameterMap}toString(){return CD(this)}}function Mr(e,n){return e.length===n.length&&e.every((t,r)=>t.path===n[r].path)}let ls=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=R({token:e,factory:function(){return new th},providedIn:"root"})}}return e})();class th{parse(n){const t=new Wk(n);return new Bo(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}serialize(n){const t=`/${us(n.root,!0)}`,r=function jk(e){const n=Object.keys(e).map(t=>{const r=e[t];return Array.isArray(r)?r.map(o=>`${jc(t)}=${jc(o)}`).join("&"):`${jc(t)}=${jc(r)}`}).filter(t=>!!t);return n.length?`?${n.join("&")}`:""}(n.queryParams);return`${t}${r}${"string"==typeof n.fragment?`#${function Lk(e){return encodeURI(e)}(n.fragment)}`:""}`}}const kk=new th;function Vc(e){return e.segments.map(n=>CD(n)).join("/")}function us(e,n){if(!e.hasChildren())return Vc(e);if(n){const t=e.children[Z]?us(e.children[Z],!1):"",r=[];return Object.entries(e.children).forEach(([o,i])=>{o!==Z&&r.push(`${o}:${us(i,!1)}`)}),r.length>0?`${t}(${r.join("//")})`:t}{const t=function Fk(e,n){let t=[];return Object.entries(e.children).forEach(([r,o])=>{r===Z&&(t=t.concat(n(o,r)))}),Object.entries(e.children).forEach(([r,o])=>{r!==Z&&(t=t.concat(n(o,r)))}),t}(e,(r,o)=>o===Z?[us(e.children[Z],!1)]:[`${o}:${us(r,!1)}`]);return 1===Object.keys(e.children).length&&null!=e.children[Z]?`${Vc(e)}/${t[0]}`:`${Vc(e)}/(${t.join("//")})`}}function vD(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function jc(e){return vD(e).replace(/%3B/gi,";")}function nh(e){return vD(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Bc(e){return decodeURIComponent(e)}function yD(e){return Bc(e.replace(/\+/g,"%20"))}function CD(e){return`${nh(e.path)}${function Vk(e){return Object.keys(e).map(n=>`;${nh(n)}=${nh(e[n])}`).join("")}(e.parameters)}`}const Bk=/^[^\/()?;#]+/;function rh(e){const n=e.match(Bk);return n?n[0]:""}const $k=/^[^\/()?;=#]+/,Hk=/^[^=?&#]+/,Gk=/^[^&#]+/;class Wk{constructor(n){this.url=n,this.remaining=n}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new ue([],{}):new ue([],this.parseChildren())}parseQueryParams(){const n={};if(this.consumeOptional("?"))do{this.parseQueryParam(n)}while(this.consumeOptional("&"));return n}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const n=[];for(this.peekStartsWith("(")||n.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),n.push(this.parseSegment());let t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1)),(n.length>0||Object.keys(t).length>0)&&(r[Z]=new ue(n,t)),r}parseSegment(){const n=rh(this.remaining);if(""===n&&this.peekStartsWith(";"))throw new M(4009,!1);return this.capture(n),new cs(Bc(n),this.parseMatrixParams())}parseMatrixParams(){const n={};for(;this.consumeOptional(";");)this.parseParam(n);return n}parseParam(n){const t=function Uk(e){const n=e.match($k);return n?n[0]:""}(this.remaining);if(!t)return;this.capture(t);let r="";if(this.consumeOptional("=")){const o=rh(this.remaining);o&&(r=o,this.capture(r))}n[Bc(t)]=Bc(r)}parseQueryParam(n){const t=function zk(e){const n=e.match(Hk);return n?n[0]:""}(this.remaining);if(!t)return;this.capture(t);let r="";if(this.consumeOptional("=")){const s=function qk(e){const n=e.match(Gk);return n?n[0]:""}(this.remaining);s&&(r=s,this.capture(r))}const o=yD(t),i=yD(r);if(n.hasOwnProperty(o)){let s=n[o];Array.isArray(s)||(s=[s],n[o]=s),s.push(i)}else n[o]=i}parseParens(n){const t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const r=rh(this.remaining),o=this.remaining[r.length];if("/"!==o&&")"!==o&&";"!==o)throw new M(4010,!1);let i;r.indexOf(":")>-1?(i=r.slice(0,r.indexOf(":")),this.capture(i),this.capture(":")):n&&(i=Z);const s=this.parseChildren();t[i]=1===Object.keys(s).length?s[Z]:new ue([],s),this.consumeOptional("//")}return t}peekStartsWith(n){return this.remaining.startsWith(n)}consumeOptional(n){return!!this.peekStartsWith(n)&&(this.remaining=this.remaining.substring(n.length),!0)}capture(n){if(!this.consumeOptional(n))throw new M(4011,!1)}}function _D(e){return e.segments.length>0?new ue([],{[Z]:e}):e}function bD(e){const n={};for(const r of Object.keys(e.children)){const i=bD(e.children[r]);if(r===Z&&0===i.segments.length&&i.hasChildren())for(const[s,a]of Object.entries(i.children))n[s]=a;else(i.segments.length>0||i.hasChildren())&&(n[r]=i)}return function Zk(e){if(1===e.numberOfChildren&&e.children[Z]){const n=e.children[Z];return new ue(e.segments.concat(n.segments),n.children)}return e}(new ue(e.segments,n))}function Sr(e){return e instanceof Bo}function DD(e){let n;const o=_D(function t(i){const s={};for(const c of i.children){const l=t(c);s[c.outlet]=l}const a=new ue(i.url,s);return i===e&&(n=a),a}(e.root));return n??o}function wD(e,n,t,r){let o=e;for(;o.parent;)o=o.parent;if(0===n.length)return oh(o,o,o,t,r);const i=function Qk(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new MD(!0,0,e);let n=0,t=!1;const r=e.reduce((o,i,s)=>{if("object"==typeof i&&null!=i){if(i.outlets){const a={};return Object.entries(i.outlets).forEach(([c,l])=>{a[c]="string"==typeof l?l.split("/"):l}),[...o,{outlets:a}]}if(i.segmentPath)return[...o,i.segmentPath]}return"string"!=typeof i?[...o,i]:0===s?(i.split("/").forEach((a,c)=>{0==c&&"."===a||(0==c&&""===a?t=!0:".."===a?n++:""!=a&&o.push(a))}),o):[...o,i]},[]);return new MD(t,n,r)}(n);if(i.toRoot())return oh(o,o,new ue([],{}),t,r);const s=function Kk(e,n,t){if(e.isAbsolute)return new Uc(n,!0,0);if(!t)return new Uc(n,!1,NaN);if(null===t.parent)return new Uc(t,!0,0);const r=$c(e.commands[0])?0:1;return function Xk(e,n,t){let r=e,o=n,i=t;for(;i>o;){if(i-=o,r=r.parent,!r)throw new M(4005,!1);o=r.segments.length}return new Uc(r,!1,o-i)}(t,t.segments.length-1+r,e.numberOfDoubleDots)}(i,o,e),a=s.processChildren?fs(s.segmentGroup,s.index,i.commands):SD(s.segmentGroup,s.index,i.commands);return oh(o,s.segmentGroup,a,t,r)}function $c(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function ds(e){return"object"==typeof e&&null!=e&&e.outlets}function oh(e,n,t,r,o){let s,i={};r&&Object.entries(r).forEach(([c,l])=>{i[c]=Array.isArray(l)?l.map(u=>`${u}`):`${l}`}),s=e===n?t:ED(e,n,t);const a=_D(bD(s));return new Bo(a,i,o)}function ED(e,n,t){const r={};return Object.entries(e.children).forEach(([o,i])=>{r[o]=i===n?t:ED(i,n,t)}),new ue(e.segments,r)}class MD{constructor(n,t,r){if(this.isAbsolute=n,this.numberOfDoubleDots=t,this.commands=r,n&&r.length>0&&$c(r[0]))throw new M(4003,!1);const o=r.find(ds);if(o&&o!==dD(r))throw new M(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Uc{constructor(n,t,r){this.segmentGroup=n,this.processChildren=t,this.index=r}}function SD(e,n,t){if(e||(e=new ue([],{})),0===e.segments.length&&e.hasChildren())return fs(e,n,t);const r=function e2(e,n,t){let r=0,o=n;const i={match:!1,pathIndex:0,commandIndex:0};for(;o=t.length)return i;const s=e.segments[o],a=t[r];if(ds(a))break;const c=`${a}`,l=r0&&void 0===c)break;if(c&&l&&"object"==typeof l&&void 0===l.outlets){if(!AD(c,l,s))return i;r+=2}else{if(!AD(c,{},s))return i;r++}o++}return{match:!0,pathIndex:o,commandIndex:r}}(e,n,t),o=t.slice(r.commandIndex);if(r.match&&r.pathIndexi!==Z)&&e.children[Z]&&1===e.numberOfChildren&&0===e.children[Z].segments.length){const i=fs(e.children[Z],n,t);return new ue(e.segments,i.children)}return Object.entries(r).forEach(([i,s])=>{"string"==typeof s&&(s=[s]),null!==s&&(o[i]=SD(e.children[i],n,s))}),Object.entries(e.children).forEach(([i,s])=>{void 0===r[i]&&(o[i]=s)}),new ue(e.segments,o)}}function ih(e,n,t){const r=e.segments.slice(0,n);let o=0;for(;o{"string"==typeof r&&(r=[r]),null!==r&&(n[t]=ih(new ue([],{}),0,r))}),n}function ID(e){const n={};return Object.entries(e).forEach(([t,r])=>n[t]=`${r}`),n}function AD(e,n,t){return e==t.path&&fn(n,t.parameters)}const hs="imperative";class hn{constructor(n,t){this.id=n,this.url=t}}class Hc extends hn{constructor(n,t,r="imperative",o=null){super(n,t),this.type=0,this.navigationTrigger=r,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class pn extends hn{constructor(n,t,r){super(n,t),this.urlAfterRedirects=r,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class ps extends hn{constructor(n,t,r,o){super(n,t),this.reason=r,this.code=o,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class $o extends hn{constructor(n,t,r,o){super(n,t),this.reason=r,this.code=o,this.type=16}}class zc extends hn{constructor(n,t,r,o){super(n,t),this.error=r,this.target=o,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class TD extends hn{constructor(n,t,r,o){super(n,t),this.urlAfterRedirects=r,this.state=o,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class n2 extends hn{constructor(n,t,r,o){super(n,t),this.urlAfterRedirects=r,this.state=o,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class r2 extends hn{constructor(n,t,r,o,i){super(n,t),this.urlAfterRedirects=r,this.state=o,this.shouldActivate=i,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class o2 extends hn{constructor(n,t,r,o){super(n,t),this.urlAfterRedirects=r,this.state=o,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class i2 extends hn{constructor(n,t,r,o){super(n,t),this.urlAfterRedirects=r,this.state=o,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class s2{constructor(n){this.route=n,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class a2{constructor(n){this.route=n,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class c2{constructor(n){this.snapshot=n,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class l2{constructor(n){this.snapshot=n,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class u2{constructor(n){this.snapshot=n,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class d2{constructor(n){this.snapshot=n,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class xD{constructor(n,t,r){this.routerEvent=n,this.position=t,this.anchor=r,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class sh{}class ah{constructor(n){this.url=n}}class f2{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new gs,this.attachRef=null}}let gs=(()=>{class e{constructor(){this.contexts=new Map}onChildOutletCreated(t,r){const o=this.getOrCreateContext(t);o.outlet=r,this.contexts.set(t,o)}onChildOutletDestroyed(t){const r=this.getContext(t);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){const t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let r=this.getContext(t);return r||(r=new f2,this.contexts.set(t,r)),r}getContext(t){return this.contexts.get(t)||null}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=R({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();class PD{constructor(n){this._root=n}get root(){return this._root.value}parent(n){const t=this.pathFromRoot(n);return t.length>1?t[t.length-2]:null}children(n){const t=ch(n,this._root);return t?t.children.map(r=>r.value):[]}firstChild(n){const t=ch(n,this._root);return t&&t.children.length>0?t.children[0].value:null}siblings(n){const t=lh(n,this._root);return t.length<2?[]:t[t.length-2].children.map(o=>o.value).filter(o=>o!==n)}pathFromRoot(n){return lh(n,this._root).map(t=>t.value)}}function ch(e,n){if(e===n.value)return n;for(const t of n.children){const r=ch(e,t);if(r)return r}return null}function lh(e,n){if(e===n.value)return[n];for(const t of n.children){const r=lh(e,t);if(r.length)return r.unshift(n),r}return[]}class Fn{constructor(n,t){this.value=n,this.children=t}toString(){return`TreeNode(${this.value})`}}function Uo(e){const n={};return e&&e.children.forEach(t=>n[t.value.outlet]=t),n}class OD extends PD{constructor(n,t){super(n),this.snapshot=t,uh(this,n)}toString(){return this.snapshot.toString()}}function RD(e,n){const t=function h2(e,n){const s=new Gc([],{},{},"",{},Z,n,null,{});return new FD("",new Fn(s,[]))}(0,n),r=new Dt([new cs("",{})]),o=new Dt({}),i=new Dt({}),s=new Dt({}),a=new Dt(""),c=new Kt(r,o,s,a,i,Z,n,t.root);return c.snapshot=t.root,new OD(new Fn(c,[]),t)}class Kt{constructor(n,t,r,o,i,s,a,c){this.urlSubject=n,this.paramsSubject=t,this.queryParamsSubject=r,this.fragmentSubject=o,this.dataSubject=i,this.outlet=s,this.component=a,this._futureSnapshot=c,this.title=this.dataSubject?.pipe(ne(l=>l[as]))??F(void 0),this.url=n,this.params=t,this.queryParams=r,this.fragment=o,this.data=i}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe(ne(n=>jo(n)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(ne(n=>jo(n)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function ND(e,n="emptyOnly"){const t=e.pathFromRoot;let r=0;if("always"!==n)for(r=t.length-1;r>=1;){const o=t[r],i=t[r-1];if(o.routeConfig&&""===o.routeConfig.path)r--;else{if(i.component)break;r--}}return function p2(e){return e.reduce((n,t)=>({params:{...n.params,...t.params},data:{...n.data,...t.data},resolve:{...t.data,...n.resolve,...t.routeConfig?.data,...t._resolvedData}}),{params:{},data:{},resolve:{}})}(t.slice(r))}class Gc{get title(){return this.data?.[as]}constructor(n,t,r,o,i,s,a,c,l){this.url=n,this.params=t,this.queryParams=r,this.fragment=o,this.data=i,this.outlet=s,this.component=a,this.routeConfig=c,this._resolve=l}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=jo(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=jo(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(r=>r.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class FD extends PD{constructor(n,t){super(t),this.url=n,uh(this,t)}toString(){return kD(this._root)}}function uh(e,n){n.value._routerState=e,n.children.forEach(t=>uh(e,t))}function kD(e){const n=e.children.length>0?` { ${e.children.map(kD).join(", ")} } `:"";return`${e.value}${n}`}function dh(e){if(e.snapshot){const n=e.snapshot,t=e._futureSnapshot;e.snapshot=t,fn(n.queryParams,t.queryParams)||e.queryParamsSubject.next(t.queryParams),n.fragment!==t.fragment&&e.fragmentSubject.next(t.fragment),fn(n.params,t.params)||e.paramsSubject.next(t.params),function xk(e,n){if(e.length!==n.length)return!1;for(let t=0;tfn(t.parameters,n[r].parameters))}(e.url,n.url);return t&&!(!e.parent!=!n.parent)&&(!e.parent||fh(e.parent,n.parent))}let hh=(()=>{class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=Z,this.activateEvents=new Se,this.deactivateEvents=new Se,this.attachEvents=new Se,this.detachEvents=new Se,this.parentContexts=P(gs),this.location=P(Zt),this.changeDetector=P(Pn),this.environmentInjector=P(It),this.inputBinder=P(qc,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(t){if(t.name){const{firstChange:r,previousValue:o}=t.name;if(r)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(t){return this.parentContexts.getContext(t)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const t=this.parentContexts.getContext(this.name);t?.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new M(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new M(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new M(4012,!1);this.location.detach();const t=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(t.instance),t}attach(t,r){this.activated=t,this._activatedRoute=r,this.location.insert(t.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(t.instance)}deactivate(){if(this.activated){const t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,r){if(this.isActivated)throw new M(4013,!1);this._activatedRoute=t;const o=this.location,s=t.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,c=new g2(t,a,o.injector);this.activated=o.createComponent(s,{index:o.length,injector:c,environmentInjector:r??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275dir=j({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[ot]})}}return e})();class g2{constructor(n,t,r){this.route=n,this.childContexts=t,this.parent=r}get(n,t){return n===Kt?this.route:n===gs?this.childContexts:this.parent.get(n,t)}}const qc=new T("");let LD=(()=>{class e{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(t){this.unsubscribeFromRouteData(t),this.subscribeToRouteData(t)}unsubscribeFromRouteData(t){this.outletDataSubscriptions.get(t)?.unsubscribe(),this.outletDataSubscriptions.delete(t)}subscribeToRouteData(t){const{activatedRoute:r}=t,o=Kf([r.queryParams,r.params,r.data]).pipe(Y(([i,s,a],c)=>(a={...i,...s,...a},0===c?F(a):Promise.resolve(a)))).subscribe(i=>{if(!t.isActivated||!t.activatedComponentRef||t.activatedRoute!==r||null===r.component)return void this.unsubscribeFromRouteData(t);const s=function zR(e){const n=J(e);if(!n)return null;const t=new ji(n);return{get selector(){return t.selector},get type(){return t.componentType},get inputs(){return t.inputs},get outputs(){return t.outputs},get ngContentSelectors(){return t.ngContentSelectors},get isStandalone(){return n.standalone},get isSignal(){return n.signals}}}(r.component);if(s)for(const{templateName:a}of s.inputs)t.activatedComponentRef.setInput(a,i[a]);else this.unsubscribeFromRouteData(t)});this.outletDataSubscriptions.set(t,o)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=R({token:e,factory:e.\u0275fac})}}return e})();function ms(e,n,t){if(t&&e.shouldReuseRoute(n.value,t.value.snapshot)){const r=t.value;r._futureSnapshot=n.value;const o=function v2(e,n,t){return n.children.map(r=>{for(const o of t.children)if(e.shouldReuseRoute(r.value,o.value.snapshot))return ms(e,r,o);return ms(e,r)})}(e,n,t);return new Fn(r,o)}{if(e.shouldAttach(n.value)){const i=e.retrieve(n.value);if(null!==i){const s=i.route;return s.value._futureSnapshot=n.value,s.children=n.children.map(a=>ms(e,a)),s}}const r=function y2(e){return new Kt(new Dt(e.url),new Dt(e.params),new Dt(e.queryParams),new Dt(e.fragment),new Dt(e.data),e.outlet,e.component,e)}(n.value),o=n.children.map(i=>ms(e,i));return new Fn(r,o)}}const ph="ngNavigationCancelingError";function VD(e,n){const{redirectTo:t,navigationBehaviorOptions:r}=Sr(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,o=jD(!1,0,n);return o.url=t,o.navigationBehaviorOptions=r,o}function jD(e,n,t){const r=new Error("NavigationCancelingError: "+(e||""));return r[ph]=!0,r.cancellationCode=n,t&&(r.url=t),r}function BD(e){return e&&e[ph]}let $D=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275cmp=Ft({type:e,selectors:[["ng-component"]],standalone:!0,features:[VC],decls:1,vars:0,template:function(r,o){1&r&&N(0,"router-outlet")},dependencies:[hh],encapsulation:2})}}return e})();function gh(e){const n=e.children&&e.children.map(gh),t=n?{...e,children:n}:{...e};return!t.component&&!t.loadComponent&&(n||t.loadChildren)&&t.outlet&&t.outlet!==Z&&(t.component=$D),t}function Xt(e){return e.outlet||Z}function vs(e){if(!e)return null;if(e.routeConfig?._injector)return e.routeConfig._injector;for(let n=e.parent;n;n=n.parent){const t=n.routeConfig;if(t?._loadedInjector)return t._loadedInjector;if(t?._injector)return t._injector}return null}class S2{constructor(n,t,r,o,i){this.routeReuseStrategy=n,this.futureState=t,this.currState=r,this.forwardEvent=o,this.inputBindingEnabled=i}activate(n){const t=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,r,n),dh(this.futureState.root),this.activateChildRoutes(t,r,n)}deactivateChildRoutes(n,t,r){const o=Uo(t);n.children.forEach(i=>{const s=i.value.outlet;this.deactivateRoutes(i,o[s],r),delete o[s]}),Object.values(o).forEach(i=>{this.deactivateRouteAndItsChildren(i,r)})}deactivateRoutes(n,t,r){const o=n.value,i=t?t.value:null;if(o===i)if(o.component){const s=r.getContext(o.outlet);s&&this.deactivateChildRoutes(n,t,s.children)}else this.deactivateChildRoutes(n,t,r);else i&&this.deactivateRouteAndItsChildren(t,r)}deactivateRouteAndItsChildren(n,t){n.value.component&&this.routeReuseStrategy.shouldDetach(n.value.snapshot)?this.detachAndStoreRouteSubtree(n,t):this.deactivateRouteAndOutlet(n,t)}detachAndStoreRouteSubtree(n,t){const r=t.getContext(n.value.outlet),o=r&&n.value.component?r.children:t,i=Uo(n);for(const s of Object.keys(i))this.deactivateRouteAndItsChildren(i[s],o);if(r&&r.outlet){const s=r.outlet.detach(),a=r.children.onOutletDeactivated();this.routeReuseStrategy.store(n.value.snapshot,{componentRef:s,route:n,contexts:a})}}deactivateRouteAndOutlet(n,t){const r=t.getContext(n.value.outlet),o=r&&n.value.component?r.children:t,i=Uo(n);for(const s of Object.keys(i))this.deactivateRouteAndItsChildren(i[s],o);r&&(r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated()),r.attachRef=null,r.route=null)}activateChildRoutes(n,t,r){const o=Uo(t);n.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],r),this.forwardEvent(new d2(i.value.snapshot))}),n.children.length&&this.forwardEvent(new l2(n.value.snapshot))}activateRoutes(n,t,r){const o=n.value,i=t?t.value:null;if(dh(o),o===i)if(o.component){const s=r.getOrCreateContext(o.outlet);this.activateChildRoutes(n,t,s.children)}else this.activateChildRoutes(n,t,r);else if(o.component){const s=r.getOrCreateContext(o.outlet);if(this.routeReuseStrategy.shouldAttach(o.snapshot)){const a=this.routeReuseStrategy.retrieve(o.snapshot);this.routeReuseStrategy.store(o.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),dh(a.route.value),this.activateChildRoutes(n,null,s.children)}else{const a=vs(o.snapshot);s.attachRef=null,s.route=o,s.injector=a,s.outlet&&s.outlet.activateWith(o,s.injector),this.activateChildRoutes(n,null,s.children)}}else this.activateChildRoutes(n,null,r)}}class UD{constructor(n){this.path=n,this.route=this.path[this.path.length-1]}}class Wc{constructor(n,t){this.component=n,this.route=t}}function I2(e,n,t){const r=e._root;return ys(r,n?n._root:null,t,[r.value])}function Ho(e,n){const t=Symbol(),r=n.get(e,t);return r===t?"function"!=typeof e||function tM(e){return null!==$s(e)}(e)?n.get(e):e:r}function ys(e,n,t,r,o={canDeactivateChecks:[],canActivateChecks:[]}){const i=Uo(n);return e.children.forEach(s=>{(function T2(e,n,t,r,o={canDeactivateChecks:[],canActivateChecks:[]}){const i=e.value,s=n?n.value:null,a=t?t.getContext(e.value.outlet):null;if(s&&i.routeConfig===s.routeConfig){const c=function x2(e,n,t){if("function"==typeof t)return t(e,n);switch(t){case"pathParamsChange":return!Mr(e.url,n.url);case"pathParamsOrQueryParamsChange":return!Mr(e.url,n.url)||!fn(e.queryParams,n.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!fh(e,n)||!fn(e.queryParams,n.queryParams);default:return!fh(e,n)}}(s,i,i.routeConfig.runGuardsAndResolvers);c?o.canActivateChecks.push(new UD(r)):(i.data=s.data,i._resolvedData=s._resolvedData),ys(e,n,i.component?a?a.children:null:t,r,o),c&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new Wc(a.outlet.component,s))}else s&&Cs(n,a,o),o.canActivateChecks.push(new UD(r)),ys(e,null,i.component?a?a.children:null:t,r,o)})(s,i[s.value.outlet],t,r.concat([s.value]),o),delete i[s.value.outlet]}),Object.entries(i).forEach(([s,a])=>Cs(a,t.getContext(s),o)),o}function Cs(e,n,t){const r=Uo(e),o=e.value;Object.entries(r).forEach(([i,s])=>{Cs(s,o.component?n?n.children.getContext(i):null:n,t)}),t.canDeactivateChecks.push(new Wc(o.component&&n&&n.outlet&&n.outlet.isActivated?n.outlet.component:null,o))}function _s(e){return"function"==typeof e}function HD(e){return e instanceof Fc||"EmptyError"===e?.name}const Zc=Symbol("INITIAL_VALUE");function zo(){return Y(e=>Kf(e.map(n=>n.pipe(ko(1),function bk(...e){const n=ri(e);return Fe((t,r)=>{(n?Xf(e,t,n):Xf(e,t)).subscribe(r)})}(Zc)))).pipe(ne(n=>{for(const t of n)if(!0!==t){if(t===Zc)return Zc;if(!1===t||t instanceof Bo)return t}return!0}),$t(n=>n!==Zc),ko(1)))}function zD(e){return function X0(...e){return Yh(e)}(We(n=>{if(Sr(n))throw VD(0,n)}),ne(n=>!0===n))}class Yc{constructor(n){this.segmentGroup=n||null}}class GD{constructor(n){this.urlTree=n}}function Go(e){return _t(new Yc(e))}function qD(e){return _t(new GD(e))}class Q2{constructor(n,t){this.urlSerializer=n,this.urlTree=t}noMatchError(n){return new M(4002,!1)}lineralizeSegments(n,t){let r=[],o=t.root;for(;;){if(r=r.concat(o.segments),0===o.numberOfChildren)return F(r);if(o.numberOfChildren>1||!o.children[Z])return _t(new M(4e3,!1));o=o.children[Z]}}applyRedirectCommands(n,t,r){return this.applyRedirectCreateUrlTree(t,this.urlSerializer.parse(t),n,r)}applyRedirectCreateUrlTree(n,t,r,o){const i=this.createSegmentGroup(n,t.root,r,o);return new Bo(i,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}createQueryParams(n,t){const r={};return Object.entries(n).forEach(([o,i])=>{if("string"==typeof i&&i.startsWith(":")){const a=i.substring(1);r[o]=t[a]}else r[o]=i}),r}createSegmentGroup(n,t,r,o){const i=this.createSegments(n,t.segments,r,o);let s={};return Object.entries(t.children).forEach(([a,c])=>{s[a]=this.createSegmentGroup(n,c,r,o)}),new ue(i,s)}createSegments(n,t,r,o){return t.map(i=>i.path.startsWith(":")?this.findPosParam(n,i,o):this.findOrReturn(i,r))}findPosParam(n,t,r){const o=r[t.path.substring(1)];if(!o)throw new M(4001,!1);return o}findOrReturn(n,t){let r=0;for(const o of t){if(o.path===n.path)return t.splice(r),o;r++}return n}}const mh={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function K2(e,n,t,r,o){const i=vh(e,n,t);return i.matched?(r=function _2(e,n){return e.providers&&!e._injector&&(e._injector=zd(e.providers,n,`Route: ${e.path}`)),e._injector??n}(n,r),function W2(e,n,t,r){const o=n.canMatch;return o&&0!==o.length?F(o.map(s=>{const a=Ho(s,e);return er(function k2(e){return e&&_s(e.canMatch)}(a)?a.canMatch(n,t):e.runInContext(()=>a(n,t)))})).pipe(zo(),zD()):F(!0)}(r,n,t).pipe(ne(s=>!0===s?i:{...mh}))):F(i)}function vh(e,n,t){if(""===n.path)return"full"===n.pathMatch&&(e.hasChildren()||t.length>0)?{...mh}:{matched:!0,consumedSegments:[],remainingSegments:t,parameters:{},positionalParamSegments:{}};const o=(n.matcher||Tk)(t,e,n);if(!o)return{...mh};const i={};Object.entries(o.posParams??{}).forEach(([a,c])=>{i[a]=c.path});const s=o.consumed.length>0?{...i,...o.consumed[o.consumed.length-1].parameters}:i;return{matched:!0,consumedSegments:o.consumed,remainingSegments:t.slice(o.consumed.length),parameters:s,positionalParamSegments:o.posParams??{}}}function WD(e,n,t,r){return t.length>0&&function eL(e,n,t){return t.some(r=>Qc(e,n,r)&&Xt(r)!==Z)}(e,t,r)?{segmentGroup:new ue(n,J2(r,new ue(t,e.children))),slicedSegments:[]}:0===t.length&&function tL(e,n,t){return t.some(r=>Qc(e,n,r))}(e,t,r)?{segmentGroup:new ue(e.segments,X2(e,0,t,r,e.children)),slicedSegments:t}:{segmentGroup:new ue(e.segments,e.children),slicedSegments:t}}function X2(e,n,t,r,o){const i={};for(const s of r)if(Qc(e,t,s)&&!o[Xt(s)]){const a=new ue([],{});i[Xt(s)]=a}return{...o,...i}}function J2(e,n){const t={};t[Z]=n;for(const r of e)if(""===r.path&&Xt(r)!==Z){const o=new ue([],{});t[Xt(r)]=o}return t}function Qc(e,n,t){return(!(e.hasChildren()||n.length>0)||"full"!==t.pathMatch)&&""===t.path}class iL{constructor(n,t,r,o,i,s,a){this.injector=n,this.configLoader=t,this.rootComponentType=r,this.config=o,this.urlTree=i,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.allowRedirects=!0,this.applyRedirects=new Q2(this.urlSerializer,this.urlTree)}noMatchError(n){return new M(4002,!1)}recognize(){const n=WD(this.urlTree.root,[],[],this.config).segmentGroup;return this.processSegmentGroup(this.injector,this.config,n,Z).pipe(we(t=>{if(t instanceof GD)return this.allowRedirects=!1,this.urlTree=t.urlTree,this.match(t.urlTree);throw t instanceof Yc?this.noMatchError(t):t}),ne(t=>{const r=new Gc([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},Z,this.rootComponentType,null,{}),o=new Fn(r,t),i=new FD("",o),s=function Yk(e,n,t=null,r=null){return wD(DD(e),n,t,r)}(r,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,i.url=this.urlSerializer.serialize(s),this.inheritParamsAndData(i._root),{state:i,tree:s}}))}match(n){return this.processSegmentGroup(this.injector,this.config,n.root,Z).pipe(we(r=>{throw r instanceof Yc?this.noMatchError(r):r}))}inheritParamsAndData(n){const t=n.value,r=ND(t,this.paramsInheritanceStrategy);t.params=Object.freeze(r.params),t.data=Object.freeze(r.data),n.children.forEach(o=>this.inheritParamsAndData(o))}processSegmentGroup(n,t,r,o){return 0===r.segments.length&&r.hasChildren()?this.processChildren(n,t,r):this.processSegment(n,t,r,r.segments,o,!0)}processChildren(n,t,r){const o=[];for(const i of Object.keys(r.children))"primary"===i?o.unshift(i):o.push(i);return Te(o).pipe(Lo(i=>{const s=r.children[i],a=function E2(e,n){const t=e.filter(r=>Xt(r)===n);return t.push(...e.filter(r=>Xt(r)!==n)),t}(t,i);return this.processSegmentGroup(n,a,s,i)}),function Ek(e,n){return Fe(function wk(e,n,t,r,o){return(i,s)=>{let a=t,c=n,l=0;i.subscribe(Re(s,u=>{const d=l++;c=a?e(c,u,d):(a=!0,u),r&&s.next(c)},o&&(()=>{a&&s.next(c),s.complete()})))}}(e,n,arguments.length>=2,!0))}((i,s)=>(i.push(...s),i)),kc(null),function Mk(e,n){const t=arguments.length>=2;return r=>r.pipe(e?$t((o,i)=>e(o,i,r)):Ln,eh(1),t?kc(n):lD(()=>new Fc))}(),$e(i=>{if(null===i)return Go(r);const s=ZD(i);return function sL(e){e.sort((n,t)=>n.value.outlet===Z?-1:t.value.outlet===Z?1:n.value.outlet.localeCompare(t.value.outlet))}(s),F(s)}))}processSegment(n,t,r,o,i,s){return Te(t).pipe(Lo(a=>this.processSegmentAgainstRoute(a._injector??n,t,a,r,o,i,s).pipe(we(c=>{if(c instanceof Yc)return F(null);throw c}))),Er(a=>!!a),we(a=>{if(HD(a))return function rL(e,n,t){return 0===n.length&&!e.children[t]}(r,o,i)?F([]):Go(r);throw a}))}processSegmentAgainstRoute(n,t,r,o,i,s,a){return function nL(e,n,t,r){return!!(Xt(e)===r||r!==Z&&Qc(n,t,e))&&("**"===e.path||vh(n,e,t).matched)}(r,o,i,s)?void 0===r.redirectTo?this.matchSegmentAgainstRoute(n,o,r,i,s,a):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(n,o,t,r,i,s):Go(o):Go(o)}expandSegmentAgainstRouteUsingRedirect(n,t,r,o,i,s){return"**"===o.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(n,r,o,s):this.expandRegularSegmentAgainstRouteUsingRedirect(n,t,r,o,i,s)}expandWildCardWithParamsAgainstRouteUsingRedirect(n,t,r,o){const i=this.applyRedirects.applyRedirectCommands([],r.redirectTo,{});return r.redirectTo.startsWith("/")?qD(i):this.applyRedirects.lineralizeSegments(r,i).pipe($e(s=>{const a=new ue(s,{});return this.processSegment(n,t,a,s,o,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(n,t,r,o,i,s){const{matched:a,consumedSegments:c,remainingSegments:l,positionalParamSegments:u}=vh(t,o,i);if(!a)return Go(t);const d=this.applyRedirects.applyRedirectCommands(c,o.redirectTo,u);return o.redirectTo.startsWith("/")?qD(d):this.applyRedirects.lineralizeSegments(o,d).pipe($e(f=>this.processSegment(n,r,t,f.concat(l),s,!1)))}matchSegmentAgainstRoute(n,t,r,o,i,s){let a;if("**"===r.path){const c=o.length>0?dD(o).parameters:{};a=F({snapshot:new Gc(o,c,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,YD(r),Xt(r),r.component??r._loadedComponent??null,r,QD(r)),consumedSegments:[],remainingSegments:[]}),t.children={}}else a=K2(t,r,o,n).pipe(ne(({matched:c,consumedSegments:l,remainingSegments:u,parameters:d})=>c?{snapshot:new Gc(l,d,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,YD(r),Xt(r),r.component??r._loadedComponent??null,r,QD(r)),consumedSegments:l,remainingSegments:u}:null));return a.pipe(Y(c=>null===c?Go(t):this.getChildConfig(n=r._injector??n,r,o).pipe(Y(({routes:l})=>{const u=r._loadedInjector??n,{snapshot:d,consumedSegments:f,remainingSegments:g}=c,{segmentGroup:v,slicedSegments:y}=WD(t,f,g,l);if(0===y.length&&v.hasChildren())return this.processChildren(u,l,v).pipe(ne(E=>null===E?null:[new Fn(d,E)]));if(0===l.length&&0===y.length)return F([new Fn(d,[])]);const b=Xt(r)===i;return this.processSegment(u,l,v,y,b?Z:i,!0).pipe(ne(E=>[new Fn(d,E)]))}))))}getChildConfig(n,t,r){return t.children?F({routes:t.children,injector:n}):t.loadChildren?void 0!==t._loadedRoutes?F({routes:t._loadedRoutes,injector:t._loadedInjector}):function q2(e,n,t,r){const o=n.canLoad;return void 0===o||0===o.length?F(!0):F(o.map(s=>{const a=Ho(s,e);return er(function O2(e){return e&&_s(e.canLoad)}(a)?a.canLoad(n,t):e.runInContext(()=>a(n,t)))})).pipe(zo(),zD())}(n,t,r).pipe($e(o=>o?this.configLoader.loadChildren(n,t).pipe(We(i=>{t._loadedRoutes=i.routes,t._loadedInjector=i.injector})):function Y2(e){return _t(jD(!1,3))}())):F({routes:[],injector:n})}}function aL(e){const n=e.value.routeConfig;return n&&""===n.path}function ZD(e){const n=[],t=new Set;for(const r of e){if(!aL(r)){n.push(r);continue}const o=n.find(i=>r.value.routeConfig===i.value.routeConfig);void 0!==o?(o.children.push(...r.children),t.add(o)):n.push(r)}for(const r of t){const o=ZD(r.children);n.push(new Fn(r.value,o))}return n.filter(r=>!t.has(r))}function YD(e){return e.data||{}}function QD(e){return e.resolve||{}}function KD(e){return"string"==typeof e.title||null===e.title}function yh(e){return Y(n=>{const t=e(n);return t?Te(t).pipe(ne(()=>n)):F(n)})}const qo=new T("ROUTES");let Ch=(()=>{class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=P(x_)}loadComponent(t){if(this.componentLoaders.get(t))return this.componentLoaders.get(t);if(t._loadedComponent)return F(t._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(t);const r=er(t.loadComponent()).pipe(ne(XD),We(i=>{this.onLoadEndListener&&this.onLoadEndListener(t),t._loadedComponent=i}),Vo(()=>{this.componentLoaders.delete(t)})),o=new cD(r,()=>new ft).pipe(Jf());return this.componentLoaders.set(t,o),o}loadChildren(t,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return F({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);const i=function pL(e,n,t,r){return er(e.loadChildren()).pipe(ne(XD),$e(o=>o instanceof kC||Array.isArray(o)?F(o):Te(n.compileModuleAsync(o))),ne(o=>{r&&r(e);let i,s,a=!1;return Array.isArray(o)?(s=o,!0):(i=o.create(t).injector,s=i.get(qo,[],{optional:!0,self:!0}).flat()),{routes:s.map(gh),injector:i}}))}(r,this.compiler,t,this.onLoadEndListener).pipe(Vo(()=>{this.childrenLoaders.delete(r)})),s=new cD(i,()=>new ft).pipe(Jf());return this.childrenLoaders.set(r,s),s}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=R({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function XD(e){return function gL(e){return e&&"object"==typeof e&&"default"in e}(e)?e.default:e}let Kc=(()=>{class e{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new ft,this.transitionAbortSubject=new ft,this.configLoader=P(Ch),this.environmentInjector=P(It),this.urlSerializer=P(ls),this.rootContexts=P(gs),this.inputBindingEnabled=null!==P(qc,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>F(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=o=>this.events.next(new a2(o)),this.configLoader.onLoadStartListener=o=>this.events.next(new s2(o))}complete(){this.transitions?.complete()}handleNavigationRequest(t){const r=++this.navigationId;this.transitions?.next({...this.transitions.value,...t,id:r})}setupNavigations(t,r,o){return this.transitions=new Dt({id:0,currentUrlTree:r,currentRawUrl:r,currentBrowserUrl:r,extractedUrl:t.urlHandlingStrategy.extract(r),urlAfterRedirects:t.urlHandlingStrategy.extract(r),rawUrl:r,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:hs,restoredState:null,currentSnapshot:o.snapshot,targetSnapshot:null,currentRouterState:o,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe($t(i=>0!==i.id),ne(i=>({...i,extractedUrl:t.urlHandlingStrategy.extract(i.rawUrl)})),Y(i=>{this.currentTransition=i;let s=!1,a=!1;return F(i).pipe(We(c=>{this.currentNavigation={id:c.id,initialUrl:c.rawUrl,extractedUrl:c.extractedUrl,trigger:c.source,extras:c.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),Y(c=>{const l=c.currentBrowserUrl.toString(),u=!t.navigated||c.extractedUrl.toString()!==l||l!==c.currentUrlTree.toString();if(!u&&"reload"!==(c.extras.onSameUrlNavigation??t.onSameUrlNavigation)){const f="";return this.events.next(new $o(c.id,this.urlSerializer.serialize(c.rawUrl),f,0)),c.resolve(null),Jt}if(t.urlHandlingStrategy.shouldProcessUrl(c.rawUrl))return F(c).pipe(Y(f=>{const g=this.transitions?.getValue();return this.events.next(new Hc(f.id,this.urlSerializer.serialize(f.extractedUrl),f.source,f.restoredState)),g!==this.transitions?.getValue()?Jt:Promise.resolve(f)}),function cL(e,n,t,r,o,i){return $e(s=>function oL(e,n,t,r,o,i,s="emptyOnly"){return new iL(e,n,t,r,o,s,i).recognize()}(e,n,t,r,s.extractedUrl,o,i).pipe(ne(({state:a,tree:c})=>({...s,targetSnapshot:a,urlAfterRedirects:c}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,t.config,this.urlSerializer,t.paramsInheritanceStrategy),We(f=>{i.targetSnapshot=f.targetSnapshot,i.urlAfterRedirects=f.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:f.urlAfterRedirects};const g=new TD(f.id,this.urlSerializer.serialize(f.extractedUrl),this.urlSerializer.serialize(f.urlAfterRedirects),f.targetSnapshot);this.events.next(g)}));if(u&&t.urlHandlingStrategy.shouldProcessUrl(c.currentRawUrl)){const{id:f,extractedUrl:g,source:v,restoredState:y,extras:b}=c,E=new Hc(f,this.urlSerializer.serialize(g),v,y);this.events.next(E);const _=RD(0,this.rootComponentType).snapshot;return this.currentTransition=i={...c,targetSnapshot:_,urlAfterRedirects:g,extras:{...b,skipLocationChange:!1,replaceUrl:!1}},F(i)}{const f="";return this.events.next(new $o(c.id,this.urlSerializer.serialize(c.extractedUrl),f,1)),c.resolve(null),Jt}}),We(c=>{const l=new n2(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(l)}),ne(c=>(this.currentTransition=i={...c,guards:I2(c.targetSnapshot,c.currentSnapshot,this.rootContexts)},i)),function V2(e,n){return $e(t=>{const{targetSnapshot:r,currentSnapshot:o,guards:{canActivateChecks:i,canDeactivateChecks:s}}=t;return 0===s.length&&0===i.length?F({...t,guardsResult:!0}):function j2(e,n,t,r){return Te(e).pipe($e(o=>function G2(e,n,t,r,o){const i=n&&n.routeConfig?n.routeConfig.canDeactivate:null;return i&&0!==i.length?F(i.map(a=>{const c=vs(n)??o,l=Ho(a,c);return er(function F2(e){return e&&_s(e.canDeactivate)}(l)?l.canDeactivate(e,n,t,r):c.runInContext(()=>l(e,n,t,r))).pipe(Er())})).pipe(zo()):F(!0)}(o.component,o.route,t,n,r)),Er(o=>!0!==o,!0))}(s,r,o,e).pipe($e(a=>a&&function P2(e){return"boolean"==typeof e}(a)?function B2(e,n,t,r){return Te(n).pipe(Lo(o=>Xf(function U2(e,n){return null!==e&&n&&n(new c2(e)),F(!0)}(o.route.parent,r),function $2(e,n){return null!==e&&n&&n(new u2(e)),F(!0)}(o.route,r),function z2(e,n,t){const r=n[n.length-1],i=n.slice(0,n.length-1).reverse().map(s=>function A2(e){const n=e.routeConfig?e.routeConfig.canActivateChild:null;return n&&0!==n.length?{node:e,guards:n}:null}(s)).filter(s=>null!==s).map(s=>aD(()=>F(s.guards.map(c=>{const l=vs(s.node)??t,u=Ho(c,l);return er(function N2(e){return e&&_s(e.canActivateChild)}(u)?u.canActivateChild(r,e):l.runInContext(()=>u(r,e))).pipe(Er())})).pipe(zo())));return F(i).pipe(zo())}(e,o.path,t),function H2(e,n,t){const r=n.routeConfig?n.routeConfig.canActivate:null;if(!r||0===r.length)return F(!0);const o=r.map(i=>aD(()=>{const s=vs(n)??t,a=Ho(i,s);return er(function R2(e){return e&&_s(e.canActivate)}(a)?a.canActivate(n,e):s.runInContext(()=>a(n,e))).pipe(Er())}));return F(o).pipe(zo())}(e,o.route,t))),Er(o=>!0!==o,!0))}(r,i,e,n):F(a)),ne(a=>({...t,guardsResult:a})))})}(this.environmentInjector,c=>this.events.next(c)),We(c=>{if(i.guardsResult=c.guardsResult,Sr(c.guardsResult))throw VD(0,c.guardsResult);const l=new r2(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot,!!c.guardsResult);this.events.next(l)}),$t(c=>!!c.guardsResult||(this.cancelNavigationTransition(c,"",3),!1)),yh(c=>{if(c.guards.canActivateChecks.length)return F(c).pipe(We(l=>{const u=new o2(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(u)}),Y(l=>{let u=!1;return F(l).pipe(function lL(e,n){return $e(t=>{const{targetSnapshot:r,guards:{canActivateChecks:o}}=t;if(!o.length)return F(t);let i=0;return Te(o).pipe(Lo(s=>function uL(e,n,t,r){const o=e.routeConfig,i=e._resolve;return void 0!==o?.title&&!KD(o)&&(i[as]=o.title),function dL(e,n,t,r){const o=function fL(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e)]}(e);if(0===o.length)return F({});const i={};return Te(o).pipe($e(s=>function hL(e,n,t,r){const o=vs(n)??r,i=Ho(e,o);return er(i.resolve?i.resolve(n,t):o.runInContext(()=>i(n,t)))}(e[s],n,t,r).pipe(Er(),We(a=>{i[s]=a}))),eh(1),function Sk(e){return ne(()=>e)}(i),we(s=>HD(s)?Jt:_t(s)))}(i,e,n,r).pipe(ne(s=>(e._resolvedData=s,e.data=ND(e,t).resolve,o&&KD(o)&&(e.data[as]=o.title),null)))}(s.route,r,e,n)),We(()=>i++),eh(1),$e(s=>i===o.length?F(t):Jt))})}(t.paramsInheritanceStrategy,this.environmentInjector),We({next:()=>u=!0,complete:()=>{u||this.cancelNavigationTransition(l,"",2)}}))}),We(l=>{const u=new i2(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(u)}))}),yh(c=>{const l=u=>{const d=[];u.routeConfig?.loadComponent&&!u.routeConfig._loadedComponent&&d.push(this.configLoader.loadComponent(u.routeConfig).pipe(We(f=>{u.component=f}),ne(()=>{})));for(const f of u.children)d.push(...l(f));return d};return Kf(l(c.targetSnapshot.root)).pipe(kc(),ko(1))}),yh(()=>this.afterPreactivation()),ne(c=>{const l=function m2(e,n,t){const r=ms(e,n._root,t?t._root:void 0);return new OD(r,n)}(t.routeReuseStrategy,c.targetSnapshot,c.currentRouterState);return this.currentTransition=i={...c,targetRouterState:l},i}),We(()=>{this.events.next(new sh)}),((e,n,t,r)=>ne(o=>(new S2(n,o.targetRouterState,o.currentRouterState,t,r).activate(e),o)))(this.rootContexts,t.routeReuseStrategy,c=>this.events.next(c),this.inputBindingEnabled),ko(1),We({next:c=>{s=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new pn(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects))),t.titleStrategy?.updateTitle(c.targetRouterState.snapshot),c.resolve(!0)},complete:()=>{s=!0}}),function Ik(e){return Fe((n,t)=>{Rt(e).subscribe(Re(t,()=>t.complete(),yl)),!t.closed&&n.subscribe(t)})}(this.transitionAbortSubject.pipe(We(c=>{throw c}))),Vo(()=>{s||a||this.cancelNavigationTransition(i,"",1),this.currentNavigation?.id===i.id&&(this.currentNavigation=null)}),we(c=>{if(a=!0,BD(c))this.events.next(new ps(i.id,this.urlSerializer.serialize(i.extractedUrl),c.message,c.cancellationCode)),function C2(e){return BD(e)&&Sr(e.url)}(c)?this.events.next(new ah(c.url)):i.resolve(!1);else{this.events.next(new zc(i.id,this.urlSerializer.serialize(i.extractedUrl),c,i.targetSnapshot??void 0));try{i.resolve(t.errorHandler(c))}catch(l){i.reject(l)}}return Jt}))}))}cancelNavigationTransition(t,r,o){const i=new ps(t.id,this.urlSerializer.serialize(t.extractedUrl),r,o);this.events.next(i),t.resolve(!1)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=R({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function JD(e){return e!==hs}let ew=(()=>{class e{buildTitle(t){let r,o=t.root;for(;void 0!==o;)r=this.getResolvedTitleForRoute(o)??r,o=o.children.find(i=>i.outlet===Z);return r}getResolvedTitleForRoute(t){return t.data[as]}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=R({token:e,factory:function(){return P(mL)},providedIn:"root"})}}return e})(),mL=(()=>{class e extends ew{constructor(t){super(),this.title=t}updateTitle(t){const r=this.buildTitle(t);void 0!==r&&this.title.setTitle(r)}static{this.\u0275fac=function(r){return new(r||e)(A(Jb))}}static{this.\u0275prov=R({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),vL=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=R({token:e,factory:function(){return P(CL)},providedIn:"root"})}}return e})();class yL{shouldDetach(n){return!1}store(n,t){}shouldAttach(n){return!1}retrieve(n){return null}shouldReuseRoute(n,t){return n.routeConfig===t.routeConfig}}let CL=(()=>{class e extends yL{static{this.\u0275fac=function(){let t;return function(o){return(t||(t=qe(e)))(o||e)}}()}static{this.\u0275prov=R({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();const Xc=new T("",{providedIn:"root",factory:()=>({})});let _L=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=R({token:e,factory:function(){return P(bL)},providedIn:"root"})}}return e})(),bL=(()=>{class e{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,r){return t}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=R({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var bs=function(e){return e[e.COMPLETE=0]="COMPLETE",e[e.FAILED=1]="FAILED",e[e.REDIRECTING=2]="REDIRECTING",e}(bs||{});function tw(e,n){e.events.pipe($t(t=>t instanceof pn||t instanceof ps||t instanceof zc||t instanceof $o),ne(t=>t instanceof pn||t instanceof $o?bs.COMPLETE:t instanceof ps&&(0===t.code||1===t.code)?bs.REDIRECTING:bs.FAILED),$t(t=>t!==bs.REDIRECTING),ko(1)).subscribe(()=>{n()})}function DL(e){throw e}function wL(e,n,t){return n.parse("/")}const EL={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},ML={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Xe=(()=>{class e{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.location.getState()?.\u0275routerPageId??this.currentPageId}get events(){return this._events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=P(T_),this.isNgZoneEnabled=!1,this._events=new ft,this.options=P(Xc,{optional:!0})||{},this.pendingTasks=P(pc),this.errorHandler=this.options.errorHandler||DL,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||wL,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=P(_L),this.routeReuseStrategy=P(vL),this.titleStrategy=P(ew),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.config=P(qo,{optional:!0})?.flat()??[],this.navigationTransitions=P(Kc),this.urlSerializer=P(ls),this.location=P(Ef),this.componentInputBindingEnabled=!!P(qc,{optional:!0}),this.eventsSubscription=new bt,this.isNgZoneEnabled=P(ce)instanceof ce&&ce.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new Bo,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=RD(0,null),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe(t=>{this.lastSuccessfulId=t.id,this.currentPageId=this.browserPageId},t=>{this.console.warn(`Unhandled Navigation Error: ${t}`)}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const t=this.navigationTransitions.events.subscribe(r=>{try{const{currentTransition:o}=this.navigationTransitions;if(null===o)return void(nw(r)&&this._events.next(r));if(r instanceof Hc)JD(o.source)&&(this.browserUrlTree=o.extractedUrl);else if(r instanceof $o)this.rawUrlTree=o.rawUrl;else if(r instanceof TD){if("eager"===this.urlUpdateStrategy){if(!o.extras.skipLocationChange){const i=this.urlHandlingStrategy.merge(o.urlAfterRedirects,o.rawUrl);this.setBrowserUrl(i,o)}this.browserUrlTree=o.urlAfterRedirects}}else if(r instanceof sh)this.currentUrlTree=o.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(o.urlAfterRedirects,o.rawUrl),this.routerState=o.targetRouterState,"deferred"===this.urlUpdateStrategy&&(o.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,o),this.browserUrlTree=o.urlAfterRedirects);else if(r instanceof ps)0!==r.code&&1!==r.code&&(this.navigated=!0),(3===r.code||2===r.code)&&this.restoreHistory(o);else if(r instanceof ah){const i=this.urlHandlingStrategy.merge(r.url,o.currentRawUrl),s={skipLocationChange:o.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||JD(o.source)};this.scheduleNavigation(i,hs,null,s,{resolve:o.resolve,reject:o.reject,promise:o.promise})}r instanceof zc&&this.restoreHistory(o,!0),r instanceof pn&&(this.navigated=!0),nw(r)&&this._events.next(r)}catch(o){this.navigationTransitions.transitionAbortSubject.next(o)}});this.eventsSubscription.add(t)}resetRootComponentType(t){this.routerState.root.component=t,this.navigationTransitions.rootComponentType=t}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const t=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),hs,t)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(t=>{const r="popstate"===t.type?"popstate":"hashchange";"popstate"===r&&setTimeout(()=>{this.navigateToSyncWithBrowser(t.url,r,t.state)},0)}))}navigateToSyncWithBrowser(t,r,o){const i={replaceUrl:!0},s=o?.navigationId?o:null;if(o){const c={...o};delete c.navigationId,delete c.\u0275routerPageId,0!==Object.keys(c).length&&(i.state=c)}const a=this.parseUrl(t);this.scheduleNavigation(a,r,s,i)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(t){this.config=t.map(gh),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(t,r={}){const{relativeTo:o,queryParams:i,fragment:s,queryParamsHandling:a,preserveFragment:c}=r,l=c?this.currentUrlTree.fragment:s;let d,u=null;switch(a){case"merge":u={...this.currentUrlTree.queryParams,...i};break;case"preserve":u=this.currentUrlTree.queryParams;break;default:u=i||null}null!==u&&(u=this.removeEmptyProps(u));try{d=DD(o?o.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof t[0]||!t[0].startsWith("/"))&&(t=[]),d=this.currentUrlTree.root}return wD(d,t,u,l??null)}navigateByUrl(t,r={skipLocationChange:!1}){const o=Sr(t)?t:this.parseUrl(t),i=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(i,hs,null,r)}navigate(t,r={skipLocationChange:!1}){return function SL(e){for(let n=0;n{const i=t[o];return null!=i&&(r[o]=i),r},{})}scheduleNavigation(t,r,o,i,s){if(this.disposed)return Promise.resolve(!1);let a,c,l;s?(a=s.resolve,c=s.reject,l=s.promise):l=new Promise((d,f)=>{a=d,c=f});const u=this.pendingTasks.add();return tw(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(u))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,currentBrowserUrl:this.browserUrlTree,rawUrl:t,extras:i,resolve:a,reject:c,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(d=>Promise.reject(d))}setBrowserUrl(t,r){const o=this.urlSerializer.serialize(t);if(this.location.isCurrentPathEqualTo(o)||r.extras.replaceUrl){const s={...r.extras.state,...this.generateNgRouterState(r.id,this.browserPageId)};this.location.replaceState(o,"",s)}else{const i={...r.extras.state,...this.generateNgRouterState(r.id,this.browserPageId+1)};this.location.go(o,"",i)}}restoreHistory(t,r=!1){if("computed"===this.canceledNavigationResolution){const i=this.currentPageId-this.browserPageId;0!==i?this.location.historyGo(i):this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===i&&(this.resetState(t),this.browserUrlTree=t.currentUrlTree,this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(r&&this.resetState(t),this.resetUrlToCurrentUrlTree())}resetState(t){this.routerState=t.currentRouterState,this.currentUrlTree=t.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(t,r){return"computed"===this.canceledNavigationResolution?{navigationId:t,\u0275routerPageId:r}:{navigationId:t}}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=R({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();function nw(e){return!(e instanceof sh||e instanceof ah)}let Jc=(()=>{class e{constructor(t,r,o,i,s,a){this.router=t,this.route=r,this.tabIndexAttribute=o,this.renderer=i,this.el=s,this.locationStrategy=a,this.href=null,this.commands=null,this.onChanges=new ft,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const c=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===c||"area"===c,this.isAnchorElement?this.subscription=t.events.subscribe(l=>{l instanceof pn&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(t){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",t)}ngOnChanges(t){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(t){null!=t?(this.commands=Array.isArray(t)?t:[t],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(t,r,o,i,s){return!!(null===this.urlTree||this.isAnchorElement&&(0!==t||r||o||i||s||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=null!==this.urlTree&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;const t=null===this.href?null:function km(e,n,t){return function aA(e,n){return"src"===n&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===n&&("base"===e||"link"===e)?Fm:Oa}(n,t)(e)}(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",t)}applyAttributeValue(t,r){const o=this.renderer,i=this.el.nativeElement;null!==r?o.setAttribute(i,t,r):o.removeAttribute(i,t)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static{this.\u0275fac=function(r){return new(r||e)(C(Xe),C(Kt),function fa(e){return function AS(e,n){if("class"===n)return e.classes;if("style"===n)return e.styles;const t=e.attrs;if(t){const r=t.length;let o=0;for(;o{class e{constructor(t,r,o,i,s){this.router=t,this.injector=o,this.preloadingStrategy=i,this.loader=s}setUpPreloading(){this.subscription=this.router.events.pipe($t(t=>t instanceof pn),Lo(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(t,r){const o=[];for(const i of r){i.providers&&!i._injector&&(i._injector=zd(i.providers,t,`Route: ${i.path}`));const s=i._injector??t,a=i._loadedInjector??s;(i.loadChildren&&!i._loadedRoutes&&void 0===i.canLoad||i.loadComponent&&!i._loadedComponent)&&o.push(this.preloadConfig(s,i)),(i.children||i._loadedRoutes)&&o.push(this.processRoutes(a,i.children??i._loadedRoutes))}return Te(o).pipe(kr())}preloadConfig(t,r){return this.preloadingStrategy.preload(r,()=>{let o;o=r.loadChildren&&void 0===r.canLoad?this.loader.loadChildren(t,r):F(null);const i=o.pipe($e(s=>null===s?F(void 0):(r._loadedRoutes=s.routes,r._loadedInjector=s.injector,this.processRoutes(s.injector??t,s.routes))));return r.loadComponent&&!r._loadedComponent?Te([i,this.loader.loadComponent(r)]).pipe(kr()):i})}static{this.\u0275fac=function(r){return new(r||e)(A(Xe),A(x_),A(It),A(rw),A(Ch))}}static{this.\u0275prov=R({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();const _h=new T("");let ow=(()=>{class e{constructor(t,r,o,i,s={}){this.urlSerializer=t,this.transitions=r,this.viewportScroller=o,this.zone=i,this.options=s,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},s.scrollPositionRestoration=s.scrollPositionRestoration||"disabled",s.anchorScrolling=s.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(t=>{t instanceof Hc?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof pn?(this.lastId=t.id,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.urlAfterRedirects).fragment)):t instanceof $o&&0===t.code&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(t=>{t instanceof xD&&(t.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(t.position):t.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(t.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(t,r){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new xD(t,"popstate"===this.lastSource?this.store[this.restoredId]:null,r))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static{this.\u0275fac=function(r){!function wv(){throw new Error("invalid")}()}}static{this.\u0275prov=R({token:e,factory:e.\u0275fac})}}return e})();function kn(e,n){return{\u0275kind:e,\u0275providers:n}}function sw(){const e=P(At);return n=>{const t=e.get(Ro);if(n!==t.components[0])return;const r=e.get(Xe),o=e.get(aw);1===e.get(bh)&&r.initialNavigation(),e.get(cw,null,K.Optional)?.setUpPreloading(),e.get(_h,null,K.Optional)?.init(),r.resetRootComponentType(t.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}const aw=new T("",{factory:()=>new ft}),bh=new T("",{providedIn:"root",factory:()=>1}),cw=new T("");function RL(e){return kn(0,[{provide:cw,useExisting:TL},{provide:rw,useExisting:e}])}const lw=new T("ROUTER_FORROOT_GUARD"),FL=[Ef,{provide:ls,useClass:th},Xe,gs,{provide:Kt,useFactory:function iw(e){return e.routerState.root},deps:[Xe]},Ch,[]];function kL(){return new L_("Router",Xe)}let uw=(()=>{class e{constructor(t){}static forRoot(t,r){return{ngModule:e,providers:[FL,[],{provide:qo,multi:!0,useValue:t},{provide:lw,useFactory:BL,deps:[[Xe,new ga,new ma]]},{provide:Xc,useValue:r||{}},r?.useHash?{provide:br,useClass:YR}:{provide:br,useClass:pb},{provide:_h,useFactory:()=>{const e=P(Nb),n=P(ce),t=P(Xc),r=P(Kc),o=P(ls);return t.scrollOffset&&e.setOffset(t.scrollOffset),new ow(o,r,e,n,t)}},r?.preloadingStrategy?RL(r.preloadingStrategy).\u0275providers:[],{provide:L_,multi:!0,useFactory:kL},r?.initialNavigation?$L(r):[],r?.bindToComponentInputs?kn(8,[LD,{provide:qc,useExisting:LD}]).\u0275providers:[],[{provide:dw,useFactory:sw},{provide:pf,multi:!0,useExisting:dw}]]}}static forChild(t){return{ngModule:e,providers:[{provide:qo,multi:!0,useValue:t}]}}static{this.\u0275fac=function(r){return new(r||e)(A(lw,8))}}static{this.\u0275mod=et({type:e})}static{this.\u0275inj=Ze({})}}return e})();function BL(e){return"guarded"}function $L(e){return["disabled"===e.initialNavigation?kn(3,[{provide:hc,multi:!0,useFactory:()=>{const n=P(Xe);return()=>{n.setUpLocationChangeListener()}}},{provide:bh,useValue:2}]).\u0275providers:[],"enabledBlocking"===e.initialNavigation?kn(2,[{provide:bh,useValue:0},{provide:hc,multi:!0,deps:[At],useFactory:n=>{const t=n.get(WR,Promise.resolve());return()=>t.then(()=>new Promise(r=>{const o=n.get(Xe),i=n.get(aw);tw(o,()=>{r(!0)}),n.get(Kc).afterPreactivation=()=>(r(!0),i.closed?F(void 0):i),o.initialNavigation()}))}}]).\u0275providers:[]]}const dw=new T("");let fw=(()=>{class e{constructor(t,r){this._renderer=t,this._elementRef=r,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(t,r){this._renderer.setProperty(this._elementRef.nativeElement,t,r)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}static{this.\u0275fac=function(r){return new(r||e)(C(En),C(vt))}}static{this.\u0275dir=j({type:e})}}return e})(),Ir=(()=>{class e extends fw{static{this.\u0275fac=function(){let t;return function(o){return(t||(t=qe(e)))(o||e)}}()}static{this.\u0275dir=j({type:e,features:[le]})}}return e})();const gn=new T("NgValueAccessor"),GL={provide:gn,useExisting:ge(()=>Ar),multi:!0},WL=new T("CompositionEventMode");let Ar=(()=>{class e extends fw{constructor(t,r,o){super(t,r),this._compositionMode=o,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function qL(){const e=Xn()?Xn().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(t){this.setProperty("value",t??"")}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}static{this.\u0275fac=function(r){return new(r||e)(C(En),C(vt),C(WL,8))}}static{this.\u0275dir=j({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(r,o){1&r&&S("input",function(s){return o._handleInput(s.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(s){return o._compositionEnd(s.target.value)})},features:[De([GL]),le]})}}return e})();function tr(e){return null==e||("string"==typeof e||Array.isArray(e))&&0===e.length}function pw(e){return null!=e&&"number"==typeof e.length}const Je=new T("NgValidators"),nr=new T("NgAsyncValidators"),ZL=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class q{static min(n){return function gw(e){return n=>{if(tr(n.value)||tr(e))return null;const t=parseFloat(n.value);return!isNaN(t)&&t{if(tr(n.value)||tr(e))return null;const t=parseFloat(n.value);return!isNaN(t)&&t>e?{max:{max:e,actual:n.value}}:null}}(n)}static required(n){return function vw(e){return tr(e.value)?{required:!0}:null}(n)}static requiredTrue(n){return function yw(e){return!0===e.value?null:{required:!0}}(n)}static email(n){return function Cw(e){return tr(e.value)||ZL.test(e.value)?null:{email:!0}}(n)}static minLength(n){return _w(n)}static maxLength(n){return bw(n)}static pattern(n){return function Dw(e){if(!e)return el;let n,t;return"string"==typeof e?(t="","^"!==e.charAt(0)&&(t+="^"),t+=e,"$"!==e.charAt(e.length-1)&&(t+="$"),n=new RegExp(t)):(t=e.toString(),n=e),r=>{if(tr(r.value))return null;const o=r.value;return n.test(o)?null:{pattern:{requiredPattern:t,actualValue:o}}}}(n)}static nullValidator(n){return null}static compose(n){return Aw(n)}static composeAsync(n){return Tw(n)}}function _w(e){return n=>tr(n.value)||!pw(n.value)?null:n.value.lengthpw(n.value)&&n.value.length>e?{maxlength:{requiredLength:e,actualLength:n.value.length}}:null}function el(e){return null}function ww(e){return null!=e}function Ew(e){return zi(e)?Te(e):e}function Mw(e){let n={};return e.forEach(t=>{n=null!=t?{...n,...t}:n}),0===Object.keys(n).length?null:n}function Sw(e,n){return n.map(t=>t(e))}function Iw(e){return e.map(n=>function YL(e){return!e.validate}(n)?n:t=>n.validate(t))}function Aw(e){if(!e)return null;const n=e.filter(ww);return 0==n.length?null:function(t){return Mw(Sw(t,n))}}function Dh(e){return null!=e?Aw(Iw(e)):null}function Tw(e){if(!e)return null;const n=e.filter(ww);return 0==n.length?null:function(t){return function HL(...e){const n=hp(e),{args:t,keys:r}=rD(e),o=new Ae(i=>{const{length:s}=t;if(!s)return void i.complete();const a=new Array(s);let c=s,l=s;for(let u=0;u{d||(d=!0,l--),a[u]=f},()=>c--,void 0,()=>{(!c||!d)&&(l||i.next(r?iD(r,a):a),i.complete())}))}});return n?o.pipe(oD(n)):o}(Sw(t,n).map(Ew)).pipe(ne(Mw))}}function wh(e){return null!=e?Tw(Iw(e)):null}function xw(e,n){return null===e?[n]:Array.isArray(e)?[...e,n]:[e,n]}function Pw(e){return e._rawValidators}function Ow(e){return e._rawAsyncValidators}function Eh(e){return e?Array.isArray(e)?e:[e]:[]}function tl(e,n){return Array.isArray(e)?e.includes(n):e===n}function Rw(e,n){const t=Eh(n);return Eh(e).forEach(o=>{tl(t,o)||t.push(o)}),t}function Nw(e,n){return Eh(n).filter(t=>!tl(e,t))}class Fw{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(n){this._rawValidators=n||[],this._composedValidatorFn=Dh(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=wh(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n=void 0){this.control&&this.control.reset(n)}hasError(n,t){return!!this.control&&this.control.hasError(n,t)}getError(n,t){return this.control?this.control.getError(n,t):null}}class dt extends Fw{get formDirective(){return null}get path(){return null}}class rr extends Fw{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class kw{constructor(n){this._cd=n}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let Ds=(()=>{class e extends kw{constructor(t){super(t)}static{this.\u0275fac=function(r){return new(r||e)(C(rr,2))}}static{this.\u0275dir=j({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(r,o){2&r&&xt("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)},features:[le]})}}return e})(),Tr=(()=>{class e extends kw{constructor(t){super(t)}static{this.\u0275fac=function(r){return new(r||e)(C(dt,10))}}static{this.\u0275dir=j({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(r,o){2&r&&xt("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)("ng-submitted",o.isSubmitted)},features:[le]})}}return e})();const ws="VALID",rl="INVALID",Wo="PENDING",Es="DISABLED";function Ih(e){return(ol(e)?e.validators:e)||null}function Ah(e,n){return(ol(n)?n.asyncValidators:e)||null}function ol(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}function Vw(e,n,t){const r=e.controls;if(!(n?Object.keys(r):r).length)throw new M(1e3,"");if(!r[t])throw new M(1001,"")}function jw(e,n,t){e._forEachChild((r,o)=>{if(void 0===t[o])throw new M(1002,"")})}class il{constructor(n,t){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(n),this._assignAsyncValidators(t)}get validator(){return this._composedValidatorFn}set validator(n){this._rawValidators=this._composedValidatorFn=n}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(n){this._rawAsyncValidators=this._composedAsyncValidatorFn=n}get parent(){return this._parent}get valid(){return this.status===ws}get invalid(){return this.status===rl}get pending(){return this.status==Wo}get disabled(){return this.status===Es}get enabled(){return this.status!==Es}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._assignValidators(n)}setAsyncValidators(n){this._assignAsyncValidators(n)}addValidators(n){this.setValidators(Rw(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(Rw(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(Nw(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(Nw(n,this._rawAsyncValidators))}hasValidator(n){return tl(this._rawValidators,n)}hasAsyncValidator(n){return tl(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){this.touched=!0,this._parent&&!n.onlySelf&&this._parent.markAsTouched(n)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(n=>n.markAllAsTouched())}markAsUntouched(n={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(t=>{t.markAsUntouched({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}markAsDirty(n={}){this.pristine=!1,this._parent&&!n.onlySelf&&this._parent.markAsDirty(n)}markAsPristine(n={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(t=>{t.markAsPristine({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}markAsPending(n={}){this.status=Wo,!1!==n.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!n.onlySelf&&this._parent.markAsPending(n)}disable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=Es,this.errors=null,this._forEachChild(r=>{r.disable({...n,onlySelf:!0})}),this._updateValue(),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...n,skipPristineCheck:t}),this._onDisabledChange.forEach(r=>r(!0))}enable(n={}){const t=this._parentMarkedDirty(n.onlySelf);this.status=ws,this._forEachChild(r=>{r.enable({...n,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors({...n,skipPristineCheck:t}),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(n){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(n){this._parent=n}getRawValue(){return this.value}updateValueAndValidity(n={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===ws||this.status===Wo)&&this._runAsyncValidator(n.emitEvent)),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity(n)}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Es:ws}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n){if(this.asyncValidator){this.status=Wo,this._hasOwnPendingAsyncValidator=!0;const t=Ew(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe(r=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(r,{emitEvent:n})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(n,t={}){this.errors=n,this._updateControlsErrors(!1!==t.emitEvent)}get(n){let t=n;return null==t||(Array.isArray(t)||(t=t.split(".")),0===t.length)?null:t.reduce((r,o)=>r&&r._find(o),this)}getError(n,t){const r=t?this.get(t):this;return r&&r.errors?r.errors[n]:null}hasError(n,t){return!!this.getError(n,t)}get root(){let n=this;for(;n._parent;)n=n._parent;return n}_updateControlsErrors(n){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(n)}_initObservables(){this.valueChanges=new Se,this.statusChanges=new Se}_calculateStatus(){return this._allControlsDisabled()?Es:this.errors?rl:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Wo)?Wo:this._anyControlsHaveStatus(rl)?rl:ws}_anyControlsHaveStatus(n){return this._anyControls(t=>t.status===n)}_anyControlsDirty(){return this._anyControls(n=>n.dirty)}_anyControlsTouched(){return this._anyControls(n=>n.touched)}_updatePristine(n={}){this.pristine=!this._anyControlsDirty(),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}_updateTouched(n={}){this.touched=this._anyControlsTouched(),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){ol(n)&&null!=n.updateOn&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){return!n&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(n){return null}_assignValidators(n){this._rawValidators=Array.isArray(n)?n.slice():n,this._composedValidatorFn=function JL(e){return Array.isArray(e)?Dh(e):e||null}(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=function eV(e){return Array.isArray(e)?wh(e):e||null}(this._rawAsyncValidators)}}class Ms extends il{constructor(n,t,r){super(Ih(t),Ah(r,t)),this.controls=n,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(n,t){return this.controls[n]?this.controls[n]:(this.controls[n]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}addControl(n,t,r={}){this.registerControl(n,t),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}removeControl(n,t={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}setControl(n,t,r={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],t&&this.registerControl(n,t),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}contains(n){return this.controls.hasOwnProperty(n)&&this.controls[n].enabled}setValue(n,t={}){jw(this,0,n),Object.keys(n).forEach(r=>{Vw(this,!0,r),this.controls[r].setValue(n[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(n,t={}){null!=n&&(Object.keys(n).forEach(r=>{const o=this.controls[r];o&&o.patchValue(n[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(n={},t={}){this._forEachChild((r,o)=>{r.reset(n?n[o]:null,{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this._reduceChildren({},(n,t,r)=>(n[r]=t.getRawValue(),n))}_syncPendingControls(){let n=this._reduceChildren(!1,(t,r)=>!!r._syncPendingControls()||t);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){Object.keys(this.controls).forEach(t=>{const r=this.controls[t];r&&n(r,t)})}_setUpControls(){this._forEachChild(n=>{n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(n){for(const[t,r]of Object.entries(this.controls))if(this.contains(t)&&n(r))return!0;return!1}_reduceValue(){return this._reduceChildren({},(t,r,o)=>((r.enabled||this.disabled)&&(t[o]=r.value),t))}_reduceChildren(n,t){let r=n;return this._forEachChild((o,i)=>{r=t(r,o,i)}),r}_allControlsDisabled(){for(const n of Object.keys(this.controls))if(this.controls[n].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(n){return this.controls.hasOwnProperty(n)?this.controls[n]:null}}class Bw extends Ms{}const xr=new T("CallSetDisabledState",{providedIn:"root",factory:()=>Ss}),Ss="always";function Is(e,n,t=Ss){Th(e,n),n.valueAccessor.writeValue(e.value),(e.disabled||"always"===t)&&n.valueAccessor.setDisabledState?.(e.disabled),function nV(e,n){n.valueAccessor.registerOnChange(t=>{e._pendingValue=t,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&$w(e,n)})}(e,n),function oV(e,n){const t=(r,o)=>{n.valueAccessor.writeValue(r),o&&n.viewToModelUpdate(r)};e.registerOnChange(t),n._registerOnDestroy(()=>{e._unregisterOnChange(t)})}(e,n),function rV(e,n){n.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&$w(e,n),"submit"!==e.updateOn&&e.markAsTouched()})}(e,n),function tV(e,n){if(n.valueAccessor.setDisabledState){const t=r=>{n.valueAccessor.setDisabledState(r)};e.registerOnDisabledChange(t),n._registerOnDestroy(()=>{e._unregisterOnDisabledChange(t)})}}(e,n)}function al(e,n,t=!0){const r=()=>{};n.valueAccessor&&(n.valueAccessor.registerOnChange(r),n.valueAccessor.registerOnTouched(r)),ll(e,n),e&&(n._invokeOnDestroyCallbacks(),e._registerOnCollectionChange(()=>{}))}function cl(e,n){e.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(n)})}function Th(e,n){const t=Pw(e);null!==n.validator?e.setValidators(xw(t,n.validator)):"function"==typeof t&&e.setValidators([t]);const r=Ow(e);null!==n.asyncValidator?e.setAsyncValidators(xw(r,n.asyncValidator)):"function"==typeof r&&e.setAsyncValidators([r]);const o=()=>e.updateValueAndValidity();cl(n._rawValidators,o),cl(n._rawAsyncValidators,o)}function ll(e,n){let t=!1;if(null!==e){if(null!==n.validator){const o=Pw(e);if(Array.isArray(o)&&o.length>0){const i=o.filter(s=>s!==n.validator);i.length!==o.length&&(t=!0,e.setValidators(i))}}if(null!==n.asyncValidator){const o=Ow(e);if(Array.isArray(o)&&o.length>0){const i=o.filter(s=>s!==n.asyncValidator);i.length!==o.length&&(t=!0,e.setAsyncValidators(i))}}}const r=()=>{};return cl(n._rawValidators,r),cl(n._rawAsyncValidators,r),t}function $w(e,n){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function Uw(e,n){Th(e,n)}function Hw(e,n){e._syncPendingControls(),n.forEach(t=>{const r=t.control;"submit"===r.updateOn&&r._pendingChange&&(t.viewToModelUpdate(r._pendingValue),r._pendingChange=!1)})}const lV={provide:dt,useExisting:ge(()=>Ts)},As=(()=>Promise.resolve())();let Ts=(()=>{class e extends dt{constructor(t,r,o){super(),this.callSetDisabledState=o,this.submitted=!1,this._directives=new Set,this.ngSubmit=new Se,this.form=new Ms({},Dh(t),wh(r))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){As.then(()=>{const r=this._findContainer(t.path);t.control=r.registerControl(t.name,t.control),Is(t.control,t,this.callSetDisabledState),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(t)})}getControl(t){return this.form.get(t.path)}removeControl(t){As.then(()=>{const r=this._findContainer(t.path);r&&r.removeControl(t.name),this._directives.delete(t)})}addFormGroup(t){As.then(()=>{const r=this._findContainer(t.path),o=new Ms({});Uw(o,t),r.registerControl(t.name,o),o.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(t){As.then(()=>{const r=this._findContainer(t.path);r&&r.removeControl(t.name)})}getFormGroup(t){return this.form.get(t.path)}updateModel(t,r){As.then(()=>{this.form.get(t.path).setValue(r)})}setValue(t){this.control.setValue(t)}onSubmit(t){return this.submitted=!0,Hw(this.form,this._directives),this.ngSubmit.emit(t),"dialog"===t?.target?.method}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(t){return t.pop(),t.length?this.form.get(t):this.form}static{this.\u0275fac=function(r){return new(r||e)(C(Je,10),C(nr,10),C(xr,8))}}static{this.\u0275dir=j({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(r,o){1&r&&S("submit",function(s){return o.onSubmit(s)})("reset",function(){return o.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[De([lV]),le]})}}return e})();function zw(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}function Gw(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}const xs=class extends il{constructor(n=null,t,r){super(Ih(t),Ah(r,t)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(n),this._setUpdateStrategy(t),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),ol(t)&&(t.nonNullable||t.initialValueIsDefault)&&(this.defaultValue=Gw(n)?n.value:n)}setValue(n,t={}){this.value=this._pendingValue=n,this._onChange.length&&!1!==t.emitModelToViewChange&&this._onChange.forEach(r=>r(this.value,!1!==t.emitViewToModelChange)),this.updateValueAndValidity(t)}patchValue(n,t={}){this.setValue(n,t)}reset(n=this.defaultValue,t={}){this._applyFormState(n),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){zw(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){zw(this._onDisabledChange,n)}_forEachChild(n){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(n){Gw(n)?(this.value=this._pendingValue=n.value,n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n}};let Pr=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275dir=j({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}}return e})(),Kw=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275mod=et({type:e})}static{this.\u0275inj=Ze({})}}return e})();const Rh=new T("NgModelWithFormControlWarning"),yV={provide:dt,useExisting:ge(()=>Or)};let Or=(()=>{class e extends dt{constructor(t,r,o){super(),this.callSetDisabledState=o,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new Se,this._setValidators(t),this._setAsyncValidators(r)}ngOnChanges(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(ll(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(t){const r=this.form.get(t.path);return Is(r,t,this.callSetDisabledState),r.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),r}getControl(t){return this.form.get(t.path)}removeControl(t){al(t.control||null,t,!1),function cV(e,n){const t=e.indexOf(n);t>-1&&e.splice(t,1)}(this.directives,t)}addFormGroup(t){this._setUpFormContainer(t)}removeFormGroup(t){this._cleanUpFormContainer(t)}getFormGroup(t){return this.form.get(t.path)}addFormArray(t){this._setUpFormContainer(t)}removeFormArray(t){this._cleanUpFormContainer(t)}getFormArray(t){return this.form.get(t.path)}updateModel(t,r){this.form.get(t.path).setValue(r)}onSubmit(t){return this.submitted=!0,Hw(this.form,this.directives),this.ngSubmit.emit(t),"dialog"===t?.target?.method}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this.submitted=!1}_updateDomValue(){this.directives.forEach(t=>{const r=t.control,o=this.form.get(t.path);r!==o&&(al(r||null,t),(e=>e instanceof xs)(o)&&(Is(o,t,this.callSetDisabledState),t.control=o))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(t){const r=this.form.get(t.path);Uw(r,t),r.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(t){if(this.form){const r=this.form.get(t.path);r&&function iV(e,n){return ll(e,n)}(r,t)&&r.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Th(this.form,this),this._oldForm&&ll(this._oldForm,this)}_checkFormPresent(){}static{this.\u0275fac=function(r){return new(r||e)(C(Je,10),C(nr,10),C(xr,8))}}static{this.\u0275dir=j({type:e,selectors:[["","formGroup",""]],hostBindings:function(r,o){1&r&&S("submit",function(s){return o.onSubmit(s)})("reset",function(){return o.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[De([yV]),le,ot]})}}return e})();const bV={provide:rr,useExisting:ge(()=>Zo)};let Zo=(()=>{class e extends rr{set isDisabled(t){}static{this._ngModelWarningSentOnce=!1}constructor(t,r,o,i,s){super(),this._ngModelWarningConfig=s,this._added=!1,this.name=null,this.update=new Se,this._ngModelWarningSent=!1,this._parent=t,this._setValidators(r),this._setAsyncValidators(o),this.valueAccessor=function Oh(e,n){if(!n)return null;let t,r,o;return Array.isArray(n),n.forEach(i=>{i.constructor===Ar?t=i:function aV(e){return Object.getPrototypeOf(e.constructor)===Ir}(i)?r=i:o=i}),o||r||t||null}(0,i)}ngOnChanges(t){this._added||this._setUpControl(),function Ph(e,n){if(!e.hasOwnProperty("model"))return!1;const t=e.model;return!!t.isFirstChange()||!Object.is(n,t.currentValue)}(t,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}get path(){return function sl(e,n){return[...n.path,e]}(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}static{this.\u0275fac=function(r){return new(r||e)(C(dt,13),C(Je,10),C(nr,10),C(gn,10),C(Rh,8))}}static{this.\u0275dir=j({type:e,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[De([bV]),le,ot]})}}return e})();const DV={provide:gn,useExisting:ge(()=>ul),multi:!0};function n0(e,n){return null==e?`${n}`:(n&&"object"==typeof n&&(n="Object"),`${e}: ${n}`.slice(0,50))}let ul=(()=>{class e extends Ir{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(t){this._compareWith=t}writeValue(t){this.value=t;const o=n0(this._getOptionId(t),t);this.setProperty("value",o)}registerOnChange(t){this.onChange=r=>{this.value=this._getOptionValue(r),t(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(t){for(const r of this._optionMap.keys())if(this._compareWith(this._optionMap.get(r),t))return r;return null}_getOptionValue(t){const r=function wV(e){return e.split(":")[0]}(t);return this._optionMap.has(r)?this._optionMap.get(r):t}static{this.\u0275fac=function(){let t;return function(o){return(t||(t=qe(e)))(o||e)}}()}static{this.\u0275dir=j({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(r,o){1&r&&S("change",function(s){return o.onChange(s.target.value)})("blur",function(){return o.onTouched()})},inputs:{compareWith:"compareWith"},features:[De([DV]),le]})}}return e})(),r0=(()=>{class e{constructor(t,r,o){this._element=t,this._renderer=r,this._select=o,this._select&&(this.id=this._select._registerOption())}set ngValue(t){null!=this._select&&(this._select._optionMap.set(this.id,t),this._setElementValue(n0(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._setElementValue(t),this._select&&this._select.writeValue(this._select.value)}_setElementValue(t){this._renderer.setProperty(this._element.nativeElement,"value",t)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static{this.\u0275fac=function(r){return new(r||e)(C(vt),C(En),C(ul,9))}}static{this.\u0275dir=j({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}}return e})();const EV={provide:gn,useExisting:ge(()=>kh),multi:!0};function o0(e,n){return null==e?`${n}`:("string"==typeof n&&(n=`'${n}'`),n&&"object"==typeof n&&(n="Object"),`${e}: ${n}`.slice(0,50))}let kh=(()=>{class e extends Ir{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(t){this._compareWith=t}writeValue(t){let r;if(this.value=t,Array.isArray(t)){const o=t.map(i=>this._getOptionId(i));r=(i,s)=>{i._setSelected(o.indexOf(s.toString())>-1)}}else r=(o,i)=>{o._setSelected(!1)};this._optionMap.forEach(r)}registerOnChange(t){this.onChange=r=>{const o=[],i=r.selectedOptions;if(void 0!==i){const s=i;for(let a=0;a{class e{constructor(t,r,o){this._element=t,this._renderer=r,this._select=o,this._select&&(this.id=this._select._registerOption(this))}set ngValue(t){null!=this._select&&(this._value=t,this._setElementValue(o0(this.id,t)),this._select.writeValue(this._select.value))}set value(t){this._select?(this._value=t,this._setElementValue(o0(this.id,t)),this._select.writeValue(this._select.value)):this._setElementValue(t)}_setElementValue(t){this._renderer.setProperty(this._element.nativeElement,"value",t)}_setSelected(t){this._renderer.setProperty(this._element.nativeElement,"selected",t)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static{this.\u0275fac=function(r){return new(r||e)(C(vt),C(En),C(kh,9))}}static{this.\u0275dir=j({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}}return e})();function a0(e){return"number"==typeof e?e:parseInt(e,10)}let Rr=(()=>{class e{constructor(){this._validator=el}ngOnChanges(t){if(this.inputName in t){const r=this.normalizeInput(t[this.inputName].currentValue);this._enabled=this.enabled(r),this._validator=this._enabled?this.createValidator(r):el,this._onChange&&this._onChange()}}validate(t){return this._validator(t)}registerOnValidatorChange(t){this._onChange=t}enabled(t){return null!=t}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275dir=j({type:e,features:[ot]})}}return e})();const PV={provide:Je,useExisting:ge(()=>dl),multi:!0};let dl=(()=>{class e extends Rr{constructor(){super(...arguments),this.inputName="minlength",this.normalizeInput=t=>a0(t),this.createValidator=t=>_w(t)}static{this.\u0275fac=function(){let t;return function(o){return(t||(t=qe(e)))(o||e)}}()}static{this.\u0275dir=j({type:e,selectors:[["","minlength","","formControlName",""],["","minlength","","formControl",""],["","minlength","","ngModel",""]],hostVars:1,hostBindings:function(r,o){2&r&&ln("minlength",o._enabled?o.minlength:null)},inputs:{minlength:"minlength"},features:[De([PV]),le]})}}return e})();const OV={provide:Je,useExisting:ge(()=>Ps),multi:!0};let Ps=(()=>{class e extends Rr{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=t=>a0(t),this.createValidator=t=>bw(t)}static{this.\u0275fac=function(){let t;return function(o){return(t||(t=qe(e)))(o||e)}}()}static{this.\u0275dir=j({type:e,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(r,o){2&r&&ln("maxlength",o._enabled?o.maxlength:null)},inputs:{maxlength:"maxlength"},features:[De([OV]),le]})}}return e})(),p0=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275mod=et({type:e})}static{this.\u0275inj=Ze({imports:[Kw]})}}return e})();class g0 extends il{constructor(n,t,r){super(Ih(t),Ah(r,t)),this.controls=n,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(n){return this.controls[this._adjustIndex(n)]}push(n,t={}){this.controls.push(n),this._registerControl(n),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}insert(n,t,r={}){this.controls.splice(n,0,t),this._registerControl(t),this.updateValueAndValidity({emitEvent:r.emitEvent})}removeAt(n,t={}){let r=this._adjustIndex(n);r<0&&(r=0),this.controls[r]&&this.controls[r]._registerOnCollectionChange(()=>{}),this.controls.splice(r,1),this.updateValueAndValidity({emitEvent:t.emitEvent})}setControl(n,t,r={}){let o=this._adjustIndex(n);o<0&&(o=0),this.controls[o]&&this.controls[o]._registerOnCollectionChange(()=>{}),this.controls.splice(o,1),t&&(this.controls.splice(o,0,t),this._registerControl(t)),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(n,t={}){jw(this,0,n),n.forEach((r,o)=>{Vw(this,!1,o),this.at(o).setValue(r,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(n,t={}){null!=n&&(n.forEach((r,o)=>{this.at(o)&&this.at(o).patchValue(r,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(n=[],t={}){this._forEachChild((r,o)=>{r.reset(n[o],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this.controls.map(n=>n.getRawValue())}clear(n={}){this.controls.length<1||(this._forEachChild(t=>t._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:n.emitEvent}))}_adjustIndex(n){return n<0?n+this.length:n}_syncPendingControls(){let n=this.controls.reduce((t,r)=>!!r._syncPendingControls()||t,!1);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){this.controls.forEach((t,r)=>{n(t,r)})}_updateValue(){this.value=this.controls.filter(n=>n.enabled||this.disabled).map(n=>n.value)}_anyControls(n){return this.controls.some(t=>t.enabled&&n(t))}_setUpControls(){this._forEachChild(n=>this._registerControl(n))}_allControlsDisabled(){for(const n of this.controls)if(n.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(n){n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)}_find(n){return this.at(n)??null}}function m0(e){return!!e&&(void 0!==e.asyncValidators||void 0!==e.validators||void 0!==e.updateOn)}let fl=(()=>{class e{constructor(){this.useNonNullable=!1}get nonNullable(){const t=new e;return t.useNonNullable=!0,t}group(t,r=null){const o=this._reduceControls(t);let i={};return m0(r)?i=r:null!==r&&(i.validators=r.validator,i.asyncValidators=r.asyncValidator),new Ms(o,i)}record(t,r=null){const o=this._reduceControls(t);return new Bw(o,r)}control(t,r,o){let i={};return this.useNonNullable?(m0(r)?i=r:(i.validators=r,i.asyncValidators=o),new xs(t,{...i,nonNullable:!0})):new xs(t,r,o)}array(t,r,o){const i=t.map(s=>this._createControl(s));return new g0(i,r,o)}_reduceControls(t){const r={};return Object.keys(t).forEach(o=>{r[o]=this._createControl(t[o])}),r}_createControl(t){return t instanceof xs||t instanceof il?t:Array.isArray(t)?this.control(t[0],t.length>1?t[1]:null,t.length>2?t[2]:null):this.control(t)}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275prov=R({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})(),NV=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:xr,useValue:t.callSetDisabledState??Ss}]}}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275mod=et({type:e})}static{this.\u0275inj=Ze({imports:[p0]})}}return e})(),FV=(()=>{class e{static withConfig(t){return{ngModule:e,providers:[{provide:Rh,useValue:t.warnOnNgModelWithFormControl??"always"},{provide:xr,useValue:t.callSetDisabledState??Ss}]}}static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275mod=et({type:e})}static{this.\u0275inj=Ze({imports:[p0]})}}return e})();class hl{}class pl{}class _e{constructor(n){this.normalizedNames=new Map,this.lazyUpdate=null,n?"string"==typeof n?this.lazyInit=()=>{this.headers=new Map,n.split("\n").forEach(t=>{const r=t.indexOf(":");if(r>0){const o=t.slice(0,r),i=o.toLowerCase(),s=t.slice(r+1).trim();this.maybeSetNormalizedName(o,i),this.headers.has(i)?this.headers.get(i).push(s):this.headers.set(i,[s])}})}:typeof Headers<"u"&&n instanceof Headers?(this.headers=new Map,n.forEach((t,r)=>{this.setHeaderEntries(r,t)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(n).forEach(([t,r])=>{this.setHeaderEntries(t,r)})}:this.headers=new Map}has(n){return this.init(),this.headers.has(n.toLowerCase())}get(n){this.init();const t=this.headers.get(n.toLowerCase());return t&&t.length>0?t[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(n){return this.init(),this.headers.get(n.toLowerCase())||null}append(n,t){return this.clone({name:n,value:t,op:"a"})}set(n,t){return this.clone({name:n,value:t,op:"s"})}delete(n,t){return this.clone({name:n,value:t,op:"d"})}maybeSetNormalizedName(n,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,n)}init(){this.lazyInit&&(this.lazyInit instanceof _e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(n=>this.applyUpdate(n)),this.lazyUpdate=null))}copyFrom(n){n.init(),Array.from(n.headers.keys()).forEach(t=>{this.headers.set(t,n.headers.get(t)),this.normalizedNames.set(t,n.normalizedNames.get(t))})}clone(n){const t=new _e;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof _e?this.lazyInit:this,t.lazyUpdate=(this.lazyUpdate||[]).concat([n]),t}applyUpdate(n){const t=n.name.toLowerCase();switch(n.op){case"a":case"s":let r=n.value;if("string"==typeof r&&(r=[r]),0===r.length)return;this.maybeSetNormalizedName(n.name,t);const o=("a"===n.op?this.headers.get(t):void 0)||[];o.push(...r),this.headers.set(t,o);break;case"d":const i=n.value;if(i){let s=this.headers.get(t);if(!s)return;s=s.filter(a=>-1===i.indexOf(a)),0===s.length?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,s)}else this.headers.delete(t),this.normalizedNames.delete(t)}}setHeaderEntries(n,t){const r=(Array.isArray(t)?t:[t]).map(i=>i.toString()),o=n.toLowerCase();this.headers.set(o,r),this.maybeSetNormalizedName(n,o)}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(t=>n(this.normalizedNames.get(t),this.headers.get(t)))}}class kV{encodeKey(n){return v0(n)}encodeValue(n){return v0(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}}const VV=/%(\d[a-f0-9])/gi,jV={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function v0(e){return encodeURIComponent(e).replace(VV,(n,t)=>jV[t]??n)}function gl(e){return`${e}`}class or{constructor(n={}){if(this.updates=null,this.cloneFrom=null,this.encoder=n.encoder||new kV,n.fromString){if(n.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function LV(e,n){const t=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(o=>{const i=o.indexOf("="),[s,a]=-1==i?[n.decodeKey(o),""]:[n.decodeKey(o.slice(0,i)),n.decodeValue(o.slice(i+1))],c=t.get(s)||[];c.push(a),t.set(s,c)}),t}(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(t=>{const r=n.fromObject[t],o=Array.isArray(r)?r.map(gl):[gl(r)];this.map.set(t,o)})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();const t=this.map.get(n);return t?t[0]:null}getAll(n){return this.init(),this.map.get(n)||null}keys(){return this.init(),Array.from(this.map.keys())}append(n,t){return this.clone({param:n,value:t,op:"a"})}appendAll(n){const t=[];return Object.keys(n).forEach(r=>{const o=n[r];Array.isArray(o)?o.forEach(i=>{t.push({param:r,value:i,op:"a"})}):t.push({param:r,value:o,op:"a"})}),this.clone(t)}set(n,t){return this.clone({param:n,value:t,op:"s"})}delete(n,t){return this.clone({param:n,value:t,op:"d"})}toString(){return this.init(),this.keys().map(n=>{const t=this.encoder.encodeKey(n);return this.map.get(n).map(r=>t+"="+this.encoder.encodeValue(r)).join("&")}).filter(n=>""!==n).join("&")}clone(n){const t=new or({encoder:this.encoder});return t.cloneFrom=this.cloneFrom||this,t.updates=(this.updates||[]).concat(n),t}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(n=>this.map.set(n,this.cloneFrom.map.get(n))),this.updates.forEach(n=>{switch(n.op){case"a":case"s":const t=("a"===n.op?this.map.get(n.param):void 0)||[];t.push(gl(n.value)),this.map.set(n.param,t);break;case"d":if(void 0===n.value){this.map.delete(n.param);break}{let r=this.map.get(n.param)||[];const o=r.indexOf(gl(n.value));-1!==o&&r.splice(o,1),r.length>0?this.map.set(n.param,r):this.map.delete(n.param)}}}),this.cloneFrom=this.updates=null)}}class BV{constructor(){this.map=new Map}set(n,t){return this.map.set(n,t),this}get(n){return this.map.has(n)||this.map.set(n,n.defaultValue()),this.map.get(n)}delete(n){return this.map.delete(n),this}has(n){return this.map.has(n)}keys(){return this.map.keys()}}function y0(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function C0(e){return typeof Blob<"u"&&e instanceof Blob}function _0(e){return typeof FormData<"u"&&e instanceof FormData}class Os{constructor(n,t,r,o){let i;if(this.url=t,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=n.toUpperCase(),function $V(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||o?(this.body=void 0!==r?r:null,i=o):i=r,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params)),this.headers||(this.headers=new _e),this.context||(this.context=new BV),this.params){const s=this.params.toString();if(0===s.length)this.urlWithParams=t;else{const a=t.indexOf("?");this.urlWithParams=t+(-1===a?"?":ad.set(f,n.setHeaders[f]),c)),n.setParams&&(l=Object.keys(n.setParams).reduce((d,f)=>d.set(f,n.setParams[f]),l)),new Os(t,r,i,{params:l,headers:c,context:u,reportProgress:a,responseType:o,withCredentials:s})}}var Yo=function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e}(Yo||{});class Vh{constructor(n,t=200,r="OK"){this.headers=n.headers||new _e,this.status=void 0!==n.status?n.status:t,this.statusText=n.statusText||r,this.url=n.url||null,this.ok=this.status>=200&&this.status<300}}class jh extends Vh{constructor(n={}){super(n),this.type=Yo.ResponseHeader}clone(n={}){return new jh({headers:n.headers||this.headers,status:void 0!==n.status?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}}class Qo extends Vh{constructor(n={}){super(n),this.type=Yo.Response,this.body=void 0!==n.body?n.body:null}clone(n={}){return new Qo({body:void 0!==n.body?n.body:this.body,headers:n.headers||this.headers,status:void 0!==n.status?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}}class b0 extends Vh{constructor(n){super(n,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${n.url||"(unknown url)"}`:`Http failure response for ${n.url||"(unknown url)"}: ${n.status} ${n.statusText}`,this.error=n.error||null}}function Bh(e,n){return{body:n,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials}}let Ko=(()=>{class e{constructor(t){this.handler=t}request(t,r,o={}){let i;if(t instanceof Os)i=t;else{let c,l;c=o.headers instanceof _e?o.headers:new _e(o.headers),o.params&&(l=o.params instanceof or?o.params:new or({fromObject:o.params})),i=new Os(t,r,void 0!==o.body?o.body:null,{headers:c,context:o.context,params:l,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials})}const s=F(i).pipe(Lo(c=>this.handler.handle(c)));if(t instanceof Os||"events"===o.observe)return s;const a=s.pipe($t(c=>c instanceof Qo));switch(o.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return a.pipe(ne(c=>{if(null!==c.body&&!(c.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return c.body}));case"blob":return a.pipe(ne(c=>{if(null!==c.body&&!(c.body instanceof Blob))throw new Error("Response is not a Blob.");return c.body}));case"text":return a.pipe(ne(c=>{if(null!==c.body&&"string"!=typeof c.body)throw new Error("Response is not a string.");return c.body}));default:return a.pipe(ne(c=>c.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${o.observe}}`)}}delete(t,r={}){return this.request("DELETE",t,r)}get(t,r={}){return this.request("GET",t,r)}head(t,r={}){return this.request("HEAD",t,r)}jsonp(t,r){return this.request("JSONP",t,{params:(new or).append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,r={}){return this.request("OPTIONS",t,r)}patch(t,r,o={}){return this.request("PATCH",t,Bh(o,r))}post(t,r,o={}){return this.request("POST",t,Bh(o,r))}put(t,r,o={}){return this.request("PUT",t,Bh(o,r))}static{this.\u0275fac=function(r){return new(r||e)(A(hl))}}static{this.\u0275prov=R({token:e,factory:e.\u0275fac})}}return e})();function E0(e,n){return n(e)}function zV(e,n){return(t,r)=>n.intercept(t,{handle:o=>e(o,r)})}const qV=new T(""),Rs=new T(""),M0=new T("");function WV(){let e=null;return(n,t)=>{null===e&&(e=(P(qV,{optional:!0})??[]).reduceRight(zV,E0));const r=P(pc),o=r.add();return e(n,t).pipe(Vo(()=>r.remove(o)))}}let S0=(()=>{class e extends hl{constructor(t,r){super(),this.backend=t,this.injector=r,this.chain=null,this.pendingTasks=P(pc)}handle(t){if(null===this.chain){const o=Array.from(new Set([...this.injector.get(Rs),...this.injector.get(M0,[])]));this.chain=o.reduceRight((i,s)=>function GV(e,n,t){return(r,o)=>t.runInContext(()=>n(r,i=>e(i,o)))}(i,s,this.injector),E0)}const r=this.pendingTasks.add();return this.chain(t,o=>this.backend.handle(o)).pipe(Vo(()=>this.pendingTasks.remove(r)))}static{this.\u0275fac=function(r){return new(r||e)(A(pl),A(It))}}static{this.\u0275prov=R({token:e,factory:e.\u0275fac})}}return e})();const KV=/^\)\]\}',?\n/;let A0=(()=>{class e{constructor(t){this.xhrFactory=t}handle(t){if("JSONP"===t.method)throw new M(-2800,!1);const r=this.xhrFactory;return(r.\u0275loadImpl?Te(r.\u0275loadImpl()):F(null)).pipe(Y(()=>new Ae(i=>{const s=r.build();if(s.open(t.method,t.urlWithParams),t.withCredentials&&(s.withCredentials=!0),t.headers.forEach((y,b)=>s.setRequestHeader(y,b.join(","))),t.headers.has("Accept")||s.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){const y=t.detectContentTypeHeader();null!==y&&s.setRequestHeader("Content-Type",y)}if(t.responseType){const y=t.responseType.toLowerCase();s.responseType="json"!==y?y:"text"}const a=t.serializeBody();let c=null;const l=()=>{if(null!==c)return c;const y=s.statusText||"OK",b=new _e(s.getAllResponseHeaders()),E=function XV(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(s)||t.url;return c=new jh({headers:b,status:s.status,statusText:y,url:E}),c},u=()=>{let{headers:y,status:b,statusText:E,url:_}=l(),O=null;204!==b&&(O=typeof s.response>"u"?s.responseText:s.response),0===b&&(b=O?200:0);let k=b>=200&&b<300;if("json"===t.responseType&&"string"==typeof O){const Q=O;O=O.replace(KV,"");try{O=""!==O?JSON.parse(O):null}catch(Be){O=Q,k&&(k=!1,O={error:Be,text:O})}}k?(i.next(new Qo({body:O,headers:y,status:b,statusText:E,url:_||void 0})),i.complete()):i.error(new b0({error:O,headers:y,status:b,statusText:E,url:_||void 0}))},d=y=>{const{url:b}=l(),E=new b0({error:y,status:s.status||0,statusText:s.statusText||"Unknown Error",url:b||void 0});i.error(E)};let f=!1;const g=y=>{f||(i.next(l()),f=!0);let b={type:Yo.DownloadProgress,loaded:y.loaded};y.lengthComputable&&(b.total=y.total),"text"===t.responseType&&s.responseText&&(b.partialText=s.responseText),i.next(b)},v=y=>{let b={type:Yo.UploadProgress,loaded:y.loaded};y.lengthComputable&&(b.total=y.total),i.next(b)};return s.addEventListener("load",u),s.addEventListener("error",d),s.addEventListener("timeout",d),s.addEventListener("abort",d),t.reportProgress&&(s.addEventListener("progress",g),null!==a&&s.upload&&s.upload.addEventListener("progress",v)),s.send(a),i.next({type:Yo.Sent}),()=>{s.removeEventListener("error",d),s.removeEventListener("abort",d),s.removeEventListener("load",u),s.removeEventListener("timeout",d),t.reportProgress&&(s.removeEventListener("progress",g),null!==a&&s.upload&&s.upload.removeEventListener("progress",v)),s.readyState!==s.DONE&&s.abort()}})))}static{this.\u0275fac=function(r){return new(r||e)(A(Fb))}}static{this.\u0275prov=R({token:e,factory:e.\u0275fac})}}return e})();const $h=new T("XSRF_ENABLED"),T0=new T("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),x0=new T("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class P0{}let tj=(()=>{class e{constructor(t,r,o){this.doc=t,this.platform=r,this.cookieName=o,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=Eb(t,this.cookieName),this.lastCookieString=t),this.lastToken}static{this.\u0275fac=function(r){return new(r||e)(A(Pt),A(Yn),A(T0))}}static{this.\u0275prov=R({token:e,factory:e.\u0275fac})}}return e})();function nj(e,n){const t=e.url.toLowerCase();if(!P($h)||"GET"===e.method||"HEAD"===e.method||t.startsWith("http://")||t.startsWith("https://"))return n(e);const r=P(P0).getToken(),o=P(x0);return null!=r&&!e.headers.has(o)&&(e=e.clone({headers:e.headers.set(o,r)})),n(e)}var ir=function(e){return e[e.Interceptors=0]="Interceptors",e[e.LegacyInterceptors=1]="LegacyInterceptors",e[e.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",e[e.NoXsrfProtection=3]="NoXsrfProtection",e[e.JsonpSupport=4]="JsonpSupport",e[e.RequestsMadeViaParent=5]="RequestsMadeViaParent",e[e.Fetch=6]="Fetch",e}(ir||{});function Nr(e,n){return{\u0275kind:e,\u0275providers:n}}function rj(...e){const n=[Ko,A0,S0,{provide:hl,useExisting:S0},{provide:pl,useExisting:A0},{provide:Rs,useValue:nj,multi:!0},{provide:$h,useValue:!0},{provide:P0,useClass:tj}];for(const t of e)n.push(...t.\u0275providers);return function Uu(e){return{\u0275providers:e}}(n)}const O0=new T("LEGACY_INTERCEPTOR_FN");let ij=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275mod=et({type:e})}static{this.\u0275inj=Ze({providers:[rj(Nr(ir.LegacyInterceptors,[{provide:O0,useFactory:WV},{provide:Rs,useExisting:O0,multi:!0}]))]})}}return e})(),sr=(()=>{class e{http;appConfig;constructor(t){this.http=t}loadConfig(){return this.http.get("/assets/config.json").toPromise().then(t=>{this.appConfig=t}).catch(t=>(console.error("\u274c Error cargando config.json",t),Promise.reject(t)))}get config(){if(!this.appConfig)throw new Error("ConfigService a\xfan no ha cargado la configuraci\xf3n");return this.appConfig}static \u0275fac=function(r){return new(r||e)(A(Ko))};static \u0275prov=R({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),vl=(()=>{class e{http;configService;constructor(t,r){this.http=t,this.configService=r}get baseUrl(){return`${this.configService.config.apiUrl}/solr/profesionista/consultar`}get baseFirmaUrl(){return`${this.configService.config.apiUrl}/profesionista/consulta`}get baseEspecialistasUrl(){return`${this.configService.config.apiUrl}/profesionista/consulta`}getDatosPorCedula(t,r,o){const i=`${this.baseUrl}/byDetalle`,s={numCedula:t},a=new _e({Authorization:`Bearer ${o}`,"X-Recaptcha-Token":r});return this.http.post(i,s,{headers:a})}buscarPorDetalle(t,r,o){const i=`${this.baseUrl}/byDetalle`,s=new _e({Authorization:`Bearer ${o}`,"X-Recaptcha-Token":r,"Content-Type":"application/json"});return this.http.post(i,t,{headers:s})}getEspecialistasCirugiaPlastica(t,r,o){const i=`${this.baseEspecialistasUrl}/cedula-estetica`,s=new _e({Authorization:`Bearer ${r}`,"X-Recaptcha-Token":o,"Content-Type":"application/json"});return this.http.post(i,t,{headers:s})}getEspecialistasCirugiaPlasticaCedula(t,r,o){const i=`${this.baseEspecialistasUrl}/cedula-estetica`,s=new _e({Authorization:`Bearer ${o}`,"X-Recaptcha-Token":r,"Content-Type":"application/json"});return this.http.post(i,{cedula:t},{headers:s})}getConstanciaPorCurp(t,r,o){const i=`${this.baseFirmaUrl}/constancia/${t}`,s=new _e({Authorization:`Bearer ${r}`,"X-Recaptcha-Token":o,"Content-Type":"application/json"});return this.http.get(i,{headers:s,responseType:"blob",observe:"response"})}getCedulasPorCurp(t,r){const o=`${this.baseFirmaUrl}/getCedulasByCurp/${t}`,i=new _e({Authorization:`Bearer ${r}`});return this.http.get(o,{headers:i})}generarFirmaElectronica(t,r){const o=`${this.baseFirmaUrl}/firmaElectronicaByCURP/curp/${t}`,i=new _e({Authorization:`Bearer ${r}`});return this.http.get(o,{headers:i,responseType:"text"})}getColegioPorCurp(t,r){const o=`${this.baseFirmaUrl}/getColegioprof/curp/${t}`,i=new _e({Authorization:`Bearer ${r}`});return this.http.get(o,{headers:i})}getCertificacionesPorCurp(t,r){const o=`${this.baseFirmaUrl}/getCertificaciones/curp/${t}`,i=new _e({Authorization:`Bearer ${r}`});return this.http.get(o,{headers:i})}getCompetenciasPorCurp(t,r){const o=`${this.baseFirmaUrl}/getCompetencias/curp/${t}`,i=new _e({Authorization:`Bearer ${r}`});return this.http.get(o,{headers:i})}getSancionesPorCurp(t,r){const o=`${this.baseFirmaUrl}/getSanciones/curp/${t}`,i=new _e({Authorization:`Bearer ${r}`});return this.http.get(o,{headers:i})}validarConstanciaByFolio(t,r,o){const i=`${this.baseFirmaUrl}/validarConstanciaByFolio/folio/${t}`,s=new _e({Authorization:`Bearer ${r}`,"X-Recaptcha-Token":o});return this.http.get(i,{headers:s})}registrarFolioCsp(t,r){const o=`${this.baseFirmaUrl}/registrarFolioCsp`,i=new _e({Authorization:`Bearer ${r}`});return this.http.post(o,t,{headers:i})}static \u0275fac=function(r){return new(r||e)(A(Ko),A(sr))};static \u0275prov=R({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Xo=(()=>{class e{http;configService;tokenKey="authToken";constructor(t,r){this.http=t,this.configService=r}obtenerToken(){const t=sessionStorage.getItem(this.tokenKey);return t?F(t):this.solicitarNuevoToken()}refrescarToken(){return this.limpiarToken(),this.solicitarNuevoToken()}solicitarNuevoToken(){const t=`${this.configService.config.tokenApi}/auth/token`,r=new _e({"X-Client-Id":this.configService.config.clientId,"X-API-Key":this.configService.config.apiKey});return this.http.get(t,{headers:r}).pipe(ne(o=>{const i=o?.access_token;if(!i)throw new Error("No se recibi\xf3 un token v\xe1lido");return sessionStorage.setItem(this.tokenKey,i),i}),we(o=>(console.warn("[\u274c] Problemas al obtener el token !!!",o),this.limpiarToken(),_t(()=>o))))}limpiarToken(){sessionStorage.removeItem(this.tokenKey)}static \u0275fac=function(r){return new(r||e)(A(Ko),A(sr))};static \u0275prov=R({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Ns=(()=>{class e{constructor(){}enviarEvento(t,r){gtag("event",t,r)}static \u0275fac=function(r){return new(r||e)};static \u0275prov=R({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function R0(e,n,t,r,o,i,s){try{var a=e[i](s),c=a.value}catch(l){return void t(l)}a.done?n(c):Promise.resolve(c).then(r,o)}let Jo=(()=>{class e{configService;scriptLoaded=!1;scriptLoadingPromise=null;constructor(t){this.configService=t}get siteKey(){return this.configService.config.recaptchaSiteKey}loadScript(){return this.scriptLoaded?Promise.resolve():(this.scriptLoadingPromise||(this.scriptLoadingPromise=new Promise((t,r)=>{if(document.getElementById("recaptcha-script"))return this.scriptLoaded=!0,void t();const o=document.createElement("script");o.id="recaptcha-script",o.src=`https://www.google.com/recaptcha/api.js?render=${this.siteKey}`,o.async=!0,o.defer=!0,o.onload=()=>{this.scriptLoaded=!0,t()},o.onerror=()=>r(new Error("Failed to load reCAPTCHA script")),document.head.appendChild(o)})),this.scriptLoadingPromise)}execute(t="submit"){var r=this;return new Promise(function(){var o=function dj(e){return function(){var n=this,t=arguments;return new Promise(function(r,o){var i=e.apply(n,t);function s(c){R0(i,r,o,s,a,"next",c)}function a(c){R0(i,r,o,s,a,"throw",c)}s(void 0)})}}(function*(i,s){try{yield r.loadScript(),grecaptcha.ready(()=>{grecaptcha.execute(r.siteKey,{action:t}).then(a=>i(a)).catch(a=>s(a))})}catch(a){s(a)}});return function(i,s){return o.apply(this,arguments)}}())}static \u0275fac=function(r){return new(r||e)(A(sr))};static \u0275prov=R({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),N0=(()=>{class e{el;constructor(t){this.el=t}onInput(){this.el.nativeElement.value=this.el.nativeElement.value.toUpperCase()}static \u0275fac=function(r){return new(r||e)(C(vt))};static \u0275dir=j({type:e,selectors:[["","appUppercase",""]],hostBindings:function(r,o){1&r&&S("input",function(){return o.onInput()})}})}return e})(),fj=(()=>{class e{transform(t){return"1"===t?"MASCULINO":"2"===t?"FEMENINO":"Otro"}static \u0275fac=function(r){return new(r||e)};static \u0275pipe=tt({name:"genero",type:e,pure:!0})}return e})();const hj=["modalGenerandoPdf"],pj=["resultsContainer"];function gj(e,n){1&e&&(h(0,"small"),m(1," El campo c\xe9dula es obligatorio. "),p())}function mj(e,n){1&e&&(h(0,"small"),m(1," La c\xe9dula debe tener entre 7 y 8 d\xedgitos num\xe9ricos. "),p())}function vj(e,n){1&e&&(h(0,"small"),m(1," Agrega una CURP v\xe1lida. "),p())}function yj(e,n){1&e&&(h(0,"div",47),N(1,"div",48),p())}function Cj(e,n){1&e&&(h(0,"p",49),m(1,"Resultados de la B\xfasqueda"),p())}function _j(e,n){if(1&e){const t=Ve();h(0,"tr")(1,"td",51),m(2),p(),h(3,"td",51),m(4),p(),h(5,"td",51),m(6),p(),h(7,"td",51),m(8),p(),h(9,"td",51),m(10),qd(11,"genero"),p(),h(12,"td",51),m(13),p(),h(14,"td",51),m(15),p(),h(16,"td",51),m(17),p(),h(18,"td",51),m(19),p(),h(20,"td",51)(21,"div",54)(22,"button",55),S("click",function(){const i=fe(t).$implicit;return he(G(2).generarAnexoPDF(i))}),N(23,"i",56),p()()()()}if(2&e){const t=n.$implicit;D(2),te(t.cedula),D(2),te(t.nombre),D(2),te(t.primerApellido),D(2),te(t.segundoApellido),D(2),te(function QC(e,n,t){const r=e+X,o=w(),i=Gr(o,r);return Xi(o,r)?GC(o,it(),n,i.transform,t,i):i.transform(t)}(11,9,t.genero)),D(3),te(t.institucion),D(2),te(t.profesion),D(2),te(t.entidadInstitucion),D(2),te(t.anioRegistro)}}function bj(e,n){if(1&e&&(h(0,"table",50)(1,"thead")(2,"tr")(3,"th",51),m(4,"N\xfam. C\xe9dula"),p(),h(5,"th",51),m(6,"Nombre"),p(),h(7,"th",51),m(8,"Primer Apellido"),p(),h(9,"th",51),m(10,"Segundo Apellido"),p(),h(11,"th",51),m(12,"G\xe9nero"),p(),h(13,"th",51),m(14,"Instituci\xf3n"),p(),h(15,"th",51),m(16,"Profesi\xf3n"),p(),h(17,"th",51),m(18,"Entidad Federativa Instituci\xf3n"),p(),h(19,"th",51),m(20,"A\xf1o de Registro"),p(),h(21,"th",51),m(22,"Constancia"),p()()(),h(23,"tbody",52),L(24,_j,24,11,"tr",53),p()()),2&e){const t=G();D(24),I("ngForOf",t.paginatedResultadosCedula)}}function Dj(e,n){if(1&e){const t=Ve();h(0,"li",59)(1,"a",63),S("click",function(){const i=fe(t).$implicit;return he(G(2).pageChange(i))}),m(2),p()()}if(2&e){const t=n.$implicit;xt("active",G(2).currentPage===t),D(2),te(t)}}function wj(e,n){if(1&e){const t=Ve();h(0,"div",57)(1,"ul",58)(2,"li",59)(3,"a",60),S("click",function(){return fe(t),he(G().previousPage())}),m(4,"\xab"),p()(),L(5,Dj,3,3,"li",61),h(6,"li",59)(7,"a",62),S("click",function(){return fe(t),he(G().nextPage())}),m(8,"\xbb"),p()()()()}if(2&e){const t=G();D(5),I("ngForOf",t.pages)}}function Ej(e,n){1&e&&(h(0,"div",64)(1,"div",65)(2,"div",66),N(3,"div",67),h(4,"h6"),m(5,"Generando Constancia, espera un momento..."),p(),h(6,"div",68),N(7,"div",69),p()()()())}function Mj(e,n){if(1&e){const t=Ve();h(0,"div",70),S("click",function(){return fe(t),he(G().cerrarModal())}),h(1,"div",71),S("click",function(o){return o.stopPropagation()}),h(2,"div",72)(3,"h5",73),m(4),p(),h(5,"button",74),S("click",function(){return fe(t),he(G().cerrarModal())}),m(6,"\xd7"),p()(),h(7,"div",75),N(8,"p",76),p()()()}if(2&e){const t=G();D(4),te(t.tituloModal),D(4),I("innerHTML",t.mensajeAlerta,Zn)}}const F0=function(e){return{active:e}},k0=function(e){return{"active show":e}};let L0=(()=>{class e{fb;cedulaService;authService;route;analytics;router;cdRef;recaptcha;cedulas=[];selectedCedula="";cargando=!1;cedulaForm;advancedSearchForm;isBuscarDisabled=!1;formDisable=!0;resultadosCedula=[];formError="";noDataError="";mensajeAlerta="";mostrarAlerta=!1;isModalVisible=!1;selectedRegistro;generandoConstancia=!1;itemsPerPage=10;totalPages=0;pages=[];currentPage=1;paginatedResultadosCedula=[];maxVisiblePages=5;page=1;activado=!0;selectedTab=1;advancedSearchEnabled=!1;modalGenerandoPdf;resultsContainer;todasLasCedulasPorCurp=[];currentYear=(new Date).getFullYear();errorCedula;datosModal;currentQueryKey="";MAX_DOWNLOADS=3;DOWNLOAD_LIMIT_HOURS=360;DOWNLOAD_CACHE_PREFIX="downloadLimit_";AVISO_VINCULACION_CURP_KEY="avisoVinculacionCurpMostrado";tituloModal="Mensaje";constructor(t,r,o,i,s,a,c,l){this.fb=t,this.cedulaService=r,this.authService=o,this.route=i,this.analytics=s,this.router=a,this.cdRef=c,this.recaptcha=l}ngOnInit(){this.selectedTab=2,this.advancedSearchEnabled=!0,this.cedulaForm=this.fb.group({cedula:["",[q.required,q.pattern(/^\d{7,8}$/)]],tipo:["c1"],entidadFederativa:[""]}),this.route.queryParams.subscribe(o=>{const i=o.idCedula,s=o.cedula;i&&!s?this.router.navigate([],{queryParams:{cedula:i},queryParamsHandling:"merge",replaceUrl:!0}):s&&(this.selectTab(1),setTimeout(()=>{this.cedulaForm.patchValue({cedula:s}),this.onBuscar(s)},300))});const t=/^[a-zA-Z\xe1\xe9\xed\xf3\xfa\xc1\xc9\xcd\xd3\xda\xf1\xd1\s]+$/;this.advancedSearchForm=this.fb.group({nombre:["",[q.maxLength(50),q.pattern(t)]],primerApellido:["",[q.maxLength(50),q.pattern(t)]],segundoApellido:["",[q.maxLength(50),q.pattern(t)]],curp:["",[q.maxLength(18),q.pattern(/^[A-Z]{4}\d{6}[HM]{1}[A-Z]{2}[B-DF-HJ-NP-TV-Z]{3}[0-9A-Z]\d$/)]]}),this.mostrarAvisoVinculacionCurpSiEsNecesario()}showModal(t){this.selectedRegistro=t,this.isModalVisible=!0}validarAlMenosUnCampo(){const t=this.advancedSearchForm.get("nombre")?.value?.trim(),r=this.advancedSearchForm.get("primerApellido")?.value?.trim();return!!(this.advancedSearchForm.get("curp")?.value?.trim()||t&&r)}ngAfterViewInit(){this.route.queryParams.subscribe(t=>{const r=t.idCedula,o=t.cedula;r&&!o?this.router.navigate([],{queryParams:{cedula:r},queryParamsHandling:"merge",replaceUrl:!0}):o&&setTimeout(()=>{this.selectTab(1),this.cedulaForm&&(this.cedulaForm.patchValue({cedula:o}),this.onBuscar(o))},0)})}selectTab(t){this.selectedTab=t,1===t&&this.cedulaForm&&this.cedulaForm.reset(),this.updateFormValidations(),this.advancedSearchEnabled=2===t,this.advancedSearchEnabled?(this.cedulaForm.reset(),this.onLimpiar(),this.updateFormValidations()):this.cedulaForm.patchValue({cedula:""}),this.advancedSearchEnabled||(this.advancedSearchForm.reset(),this.onLimpiar(),this.updateFormValidations()),this.updateFormValidations()}updateFormValidations(){1===this.selectedTab?this.cedulaForm.get("cedula")?.setValidators([q.required,q.pattern(/^\d{7,8}$/)]):2===this.selectedTab&&this.cedulaForm.get("cedula")?.clearValidators(),this.cedulaForm.get("cedula")?.updateValueAndValidity()}onBuscarSettings(){if(this.updateFormValidations(),1===this.selectedTab){if(this.cedulaForm.invalid)return void this.cedulaForm.markAllAsTouched();this.onBuscar(this.cedulaForm.value.cedula)}else if(2===this.selectedTab){if(this.advancedSearchForm.invalid)return void this.advancedSearchForm.markAllAsTouched();this.onBuscarAvanzada()}}onBuscar(t){if(this.formError="",this.noDataError="",this.errorCedula="",this.mensajeAlerta="",this.mostrarAlerta=!1,this.cargando=!0,this.analytics.enviarEvento("buscar_cedula",{method:"por_cedula",cedula:t,fecha:(new Date).toISOString(),debug_mode:!0}),!t||!/^[a-zA-Z0-9]+$/.test(t))return this.errorCedula="El n\xfamero de c\xe9dula no es v\xe1lido. No se permiten caracteres especiales.",this.mostrarError("Error en la b\xfasqueda: "+this.errorCedula),this.resultadosCedula=[],void(this.cargando=!1);Promise.resolve(this.recaptcha.execute("submit")).then(r=>{this.authService.obtenerToken().pipe(Y(o=>{if(!o)throw new Error("AUTH_TOKEN_ERROR");return this.cedulaService.getDatosPorCedula(t,r,o)}),we(o=>401===o.status||403===o.status?(this.authService.limpiarToken(),this.authService.obtenerToken().pipe(Y(i=>{if(!i)throw new Error("RETRY_AUTH_TOKEN_ERROR");return this.cedulaService.getDatosPorCedula(t,r,i)}))):_t(()=>o))).subscribe({next:o=>this.procesarResultados(t,o),error:o=>this.manejarErrorBusqueda(t,o)})}).catch(r=>{console.error("\u274c Error al ejecutar reCAPTCHA:",r),this.formError="Error al validar reCAPTCHA. Intente nuevamente.",this.cargando=!1})}procesarResultados(t,r){if(this.currentQueryKey=t,!r||Array.isArray(r)&&0===r.length){const o=this.formatearFecha(new Date);this.mensajeAlerta=`No se encontr\xf3 informaci\xf3n para la c\xe9dula ${t}.
Fecha: ${o}`,this.mostrarAlerta=!0,this.resultadosCedula=[],this.pages=[]}else{const o=Array.isArray(r)?r:[r];this.todasLasCedulasPorCurp=o,this.resultadosCedula=o.filter(i=>i.cedula===t),this.totalPages=Math.ceil(this.resultadosCedula.length/this.itemsPerPage),this.pages=Array.from({length:this.totalPages},(i,s)=>s+1),this.currentPage=1,this.paginateResults()}this.cargando=!1,this.scrollToResults()}manejarErrorBusqueda(t,r){if("no_data"===r.tipo){const o=this.formatearFecha(new Date);this.mensajeAlerta=`No se encontr\xf3 informaci\xf3n para la c\xe9dula ${t}.
Fecha: ${o}`,this.mostrarAlerta=!0,this.resultadosCedula=[],this.pages=[]}else this.formError="Error inesperado al realizar la b\xfasqueda.";this.cargando=!1,this.scrollToResults()}formatearFecha(t){return`${String(t.getDate()).padStart(2,"0")}/${String(t.getMonth()+1).padStart(2,"0")}/${t.getFullYear()}`}scrollToResults(){window.innerWidth<768&&setTimeout(()=>{this.resultsContainer?.nativeElement&&this.resultsContainer.nativeElement.scrollIntoView({behavior:"smooth",block:"start"})},100)}getCampoAmigable(t){return{nombres:"Nombres",primerApellido:"Primer Apellido",segundoApellido:"Segundo Apellido",cedula:"C\xe9dula",tipoCedula:"Tipo de C\xe9dula"}[t]||t}capitalizeFirstLetter(t){return t?t.charAt(0).toUpperCase()+t.slice(1).toLowerCase():""}onBuscarAvanzada(){this.formError="",this.noDataError="";const t=this.advancedSearchForm.value,r={};for(const o in t)null!==t[o]&&""!==t[o]&&(r[o]=t[o]);this.analytics.enviarEvento("buscar_cedula",{metodo:"avanzada",campos:JSON.stringify(r),fecha:(new Date).toISOString(),debug_mode:!0}),this.validarAlMenosUnCampo()?(this.cargando=!0,Promise.resolve(this.recaptcha.execute("submit")).then(o=>{Object.keys(this.advancedSearchForm.controls).forEach(a=>{const c=this.advancedSearchForm.get(a)?.value;c&&"string"==typeof c&&this.advancedSearchForm.get(a)?.setValue(c.trim().toUpperCase())});const i=this.advancedSearchForm.value,s={};for(const a in i)null!==i[a]&&""!==i[a]&&(s[a]=i[a]);this.authService.obtenerToken().pipe(Y(a=>{if(!a)throw new Error("AUTH_TOKEN_ERROR");return this.cedulaService.buscarPorDetalle(s,o,a)}),we(a=>401===a.status||403===a.status?(this.authService.limpiarToken(),this.authService.obtenerToken().pipe(Y(c=>{if(!c)throw new Error("RETRY_AUTH_TOKEN_ERROR");return this.cedulaService.buscarPorDetalle(s,o,c)}))):(this.formError="Error al realizar la b\xfasqueda avanzada.",this.cargando=!1,F(null)))).subscribe(a=>{if(this.currentQueryKey=JSON.stringify(s),!a)return this.cargando=!1,void this.scrollToResults();if(Array.isArray(a)&&a.length>0)this.resultadosCedula=a,this.totalPages=Math.ceil(a.length/this.itemsPerPage),this.pages=this.calculateVisiblePages(this.currentPage,this.totalPages),this.currentPage=1,this.paginateResults();else{const c=this.formatearFecha(new Date),l=Object.entries(s).map(([u,d])=>`${this.capitalizeFirstLetter(this.getCampoAmigable(u))}: ${this.obtenerValorAmigable(u,d)}`).join("
");this.mensajeAlerta=`No se encontr\xf3 informaci\xf3n para los criterios de b\xfasqueda especificados:

${l}

Fecha de consulta: ${c}`,this.mostrarAlerta=!0,this.resultadosCedula=[],this.pages=[]}this.cargando=!1,this.scrollToResults()})}).catch(o=>{console.error("\u274c Error al ejecutar reCAPTCHA:",o),this.formError="Error al validar reCAPTCHA. Intente nuevamente.",this.cargando=!1})):this.mostrarModalAlerta("Debe ingresar el Nombre y Primer Apellido, o bien la CURP para realizar la b\xfasqueda.")}obtenerValorAmigable(t,r){if("genero"===t){if("1"===r)return"Masculino";if("2"===r)return"Femenino"}return r}paginateResults(){const t=(this.currentPage-1)*this.itemsPerPage;this.paginatedResultadosCedula=this.resultadosCedula.slice(t,t+this.itemsPerPage)}pageChange(t){this.currentPage=t,this.pages=this.calculateVisiblePages(this.currentPage,this.totalPages),this.paginateResults()}previousPage(){this.currentPage>1&&(this.currentPage--,this.pages=this.calculateVisiblePages(this.currentPage,this.totalPages),this.paginateResults())}nextPage(){this.currentPager&&(i=Math.max(1,r-this.maxVisiblePages+1)),Array.from({length:s-i+1},(a,c)=>i+c)}scrollY=0;mostrarError(t,r="Mensaje"){this.scrollY=window.scrollY,document.body.classList.add("modal-open"),this.mensajeAlerta=t,this.tituloModal=r,this.mostrarAlerta=!0,this.cdRef.detectChanges()}mostrarAvisoVinculacionCurpSiEsNecesario(){if("true"===localStorage.getItem(this.AVISO_VINCULACION_CURP_KEY))return;const s=`Estimado profesionista:
\n
La SEP te recomienda realizar la vinculaci\xf3n de tu CURP a las c\xe9dulas profesionales que tienes expedidas,\n a fin de que la Constancia de Situaci\xf3n Profesional refleje la totalidad de tus registros.\n

El tr\xe1mite puede efectuarse en l\xednea en el siguiente enlace:\n \n Vinculaci\xf3n de CURP\n `;setTimeout(()=>{this.mostrarError(s,"Aviso Importante")},500)}cerrarModal(){"Aviso Importante"===this.tituloModal&&localStorage.setItem(this.AVISO_VINCULACION_CURP_KEY,"true"),this.mostrarAlerta=!1,this.tituloModal="Mensaje",document.body.classList.remove("modal-open"),document.body.style.top=""}onLimpiar(){this.cedulaForm.reset(),this.advancedSearchForm.reset(),this.resultadosCedula=[],this.formError="",this.noDataError="",this.errorCedula="",this.isBuscarDisabled=!1,this.currentQueryKey="",this.updateFormValidations()}mostrarModalAlerta(t){this.mensajeAlerta=t,this.mostrarAlerta=!0,setTimeout(()=>{this.mostrarAlerta=!1,this.mensajeAlerta=""},15e3)}generarCSV(){if(!this.resultadosCedula||0===this.resultadosCedula.length)return this.mostrarModalAlerta("Favor de buscar datos para la consulta."),void this.analytics.enviarEvento("generar_csv_fallido",{motivo:"sin_resultados",fecha:(new Date).toISOString(),debug_mode:!0});this.recaptcha.execute("generar_csv").then(()=>{this.analytics.enviarEvento("generar_csv",{registros:this.resultadosCedula.length,fecha:(new Date).toISOString(),debug_mode:!0});const t=this.resultadosCedula.map((g,v)=>({"#":v+1,C\u00e9dula:g.cedula,Nombre:g.nombre,"Primer Apellido":g.primerApellido,"Segundo Apellido":g.segundoApellido,G\u00e9nero:"1"===g.genero?"MASCULINO":"FEMENINO",Profesi\u00f3n:g.profesion,Instituci\u00f3n:g.institucion,Sostenimiento:g.sostenimiento,"\xc1rea de Conocimiento":g.areaConocimiento,"Nivel Educativo":g.nivelEducativo,"Entidad Federativa":g.entidadInstitucion,"A\xf1o registrado":g.anioRegistro})),a="\ufeff"+[Object.keys(t[0]).join(";"),...t.map(g=>Object.values(g).join(";"))].join("\n"),c=new Blob([a],{type:"text/csv;charset=utf-8;"}),l=new Date,u=`${l.getDate().toString().padStart(2,"0")}_${(l.getMonth()+1).toString().padStart(2,"0")}_${l.getFullYear()}`,d=document.createElement("a"),f=URL.createObjectURL(c);d.href=f,d.download=`Cedulas_${u}.csv`,document.body.appendChild(d),d.click(),document.body.removeChild(d),URL.revokeObjectURL(f)}).catch(t=>{console.error("\u274c Error al ejecutar reCAPTCHA:",t),this.mostrarModalAlerta("Error al validar reCAPTCHA. Intente nuevamente.")})}generarAnexoPDF(t){const r=t.curp;if(!r||r.length<10){const a="cedulaprofesional.sep.gob.mx"===window.location.hostname?"https://siurp.sep.gob.mx/mvc/profesionista/tramites/vinculacion-curp":"https://siurpprue.sep.gob.mx/mvc/profesionista/tramites/vinculacion-curp";this.mostrarError(`Estimado profesionista:
\n
La SEP te recomienda realizar la vinculaci\xf3n de tu CURP a las c\xe9dulas profesionales que tienes expedidas,\n a fin de que la Constancia de Situaci\xf3n Profesional refleje la totalidad de tus registros.\n

El tr\xe1mite puede efectuarse en l\xednea en el siguiente enlace:\n \n Vinculaci\xf3n de CURP\n `)}else this.generandoConstancia=!0,Te(Promise.resolve(this.recaptcha.execute("generar_constancia"))).pipe(Y(i=>this.authService.obtenerToken().pipe(Y(s=>{if(!s)throw new Error("No se pudo obtener token de autenticaci\xf3n.");return this.cedulaService.getConstanciaPorCurp(r,s,i)}),we(s=>401===s.status||403===s.status?(this.authService.limpiarToken(),this.authService.obtenerToken().pipe(Y(a=>{if(!a)throw new Error("No se pudo renovar el token.");return this.cedulaService.getConstanciaPorCurp(r,a,i)}))):_t(()=>s)))),we(i=>(this.mostrarError("No fue posible generar la constancia en este momento. Intenta de nuevo m\xe1s tarde."),this.generandoConstancia=!1,F(null)))).subscribe(i=>{if(this.generandoConstancia=!1,!i||!i.body)return;const s=i.body;if("application/pdf"!==s.type){const d=new FileReader;return d.onload=()=>{this.mostrarError("La respuesta del servidor no es un PDF v\xe1lido.")},void d.readAsText(s)}this.analytics.enviarEvento("generar_anexo_pdf",{curp:r,fecha:(new Date).toISOString(),debug_mode:!0});const a=i.headers.get("content-disposition");let c="Constancia.pdf";if(a){const d=/filename[^;=\n]*=((['"]).*?\2|[^;\n]*)/.exec(a);null!=d&&d[1]&&(c=d[1].replace(/['"]/g,""))}const l=window.URL.createObjectURL(s),u=document.createElement("a");u.href=l,u.download=c,u.click(),window.URL.revokeObjectURL(l)})}filtrarLetras(t,r){const o=this.advancedSearchForm.get(r);if(!o)return;const i=t.target,s=i.value,a=i.selectionStart,c=s.replace(/[^a-zA-Z\xe1\xe9\xed\xf3\xfa\xc1\xc9\xcd\xd3\xda\xf1\xd1\s]/g,"").toUpperCase();if(s!==c&&(o.setValue(c,{emitEvent:!1}),null!==a)){const u=a-(s.length-c.length);i.setSelectionRange(u,u)}}filtrarNumeros(t,r){const o=this.cedulaForm.get(r);if(!o)return;const i=t.target,s=i.value,a=i.selectionStart,c=s.replace(/[^0-9]/g,"");if(s!==c&&(o.setValue(c,{emitEvent:!1}),null!==a)){const u=a-(s.length-c.length);i.setSelectionRange(u,u)}}filtrarCURP(t,r){const o=this.advancedSearchForm.get(r);if(!o)return;const i=t.target,s=i.value,a=i.selectionStart,c=s.replace(/[^a-zA-Z0-9]/g,"").toUpperCase();if(s!==c&&(o.setValue(c,{emitEvent:!1}),null!==a)){const u=a-(s.length-c.length);i.setSelectionRange(u,u)}}static \u0275fac=function(r){return new(r||e)(C(fl),C(vl),C(Xo),C(Kt),C(Ns),C(Xe),C(Pn),C(Jo))};static \u0275cmp=Ft({type:e,selectors:[["app-cedula-profesional"]],viewQuery:function(r,o){if(1&r&&(Ji(hj,5),Ji(pj,5)),2&r){let i;To(i=xo())&&(o.modalGenerandoPdf=i.first),To(i=xo())&&(o.resultsContainer=i.first)}},decls:82,vars:29,consts:[[1,"busqueda-title"],[1,"red"],[1,"busqueda-text"],[2,"text-align","center !important","font-weight","bold"],[2,"text-align","justify !important"],[2,"font-weight","bold"],[1,"container-cedula"],[1,"form-container"],[1,"nav","nav-tabs"],[3,"ngClass"],["data-toggle","tab","href","#tab-04",3,"click"],["data-toggle","tab","href","#tab-01",3,"click"],[1,"tab-content","mt-3"],["id","tab-01",1,"tab-pane",3,"ngClass"],[2,"text-align","left",3,"formGroup"],[1,"row","mb-3"],[1,"col-md-6","col-lg-3"],["id","cedula","type","text","autocomplete","off","formControlName","cedula","placeholder","C\xe9dula","maxlength","8",1,"form-control",3,"input"],[1,"error-message","text-danger"],[4,"ngIf"],["id","tab-04",1,"tab-pane",3,"ngClass"],[1,"rowForm","mb-3"],["for","nombre"],["id","nombre","type","text","autocomplete","off","maxlength","50","minlength","1","formControlName","nombre","placeholder","Nombre(s)",1,"form-control",3,"disabled","input"],["for","primerApellido"],["id","primerApellido","type","text","autocomplete","off","minlength","1","maxlength","50","formControlName","primerApellido","placeholder","Primer Apellido",1,"form-control",3,"input"],["for","segundoApellido"],["id","segundoApellido","type","text","autocomplete","off","appUppercase","","minlength","1","maxlength","50","formControlName","segundoApellido","placeholder","Segundo Apellido",1,"form-control",3,"input"],["resultsContainer",""],["for","curp"],["id","curp","type","text","maxlength","18","autocomplete","off","minlength","17","formControlName","curp","placeholder","CURP",1,"form-control",3,"disabled","input"],["role","group",1,"btn-group"],["type","button",1,"btn","btn-primary","w-100","w-sm-auto","ml","mlm",3,"disabled","click"],[1,"d-none","d-md-inline"],["type","button",1,"btn","btn-danger","w-100","w-sm-auto","ml","mlm",3,"disabled","click"],["type","button",1,"btn","btn-default","w-100","w-sm-auto","ml","mlm",3,"disabled","click"],[1,"d-none","d-md-inline","desk"],[1,"mob"],[1,"bi","bi-filetype-csv"],["href","https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css","rel","stylesheet"],["class","spinner-container",4,"ngIf"],[1,"table-responsive"],["style","font-weight: bold; margin-top: 1em;",4,"ngIf"],["class","table table-striped",4,"ngIf"],["class","d-flex justify-content-center mt-3",4,"ngIf"],["class","custom-modal-backdrop",4,"ngIf"],["class","custom-modal-backdrop",3,"click",4,"ngIf"],[1,"spinner-container"],[1,"spinner"],[2,"font-weight","bold","margin-top","1em"],[1,"table","table-striped"],[1,"p-1"],[2,"text-align","left !important"],[4,"ngFor","ngForOf"],[1,"flex-row","gap-1",2,"display","flex"],["title","Descargar Constancia",1,"btn","btn-sm",2,"background-color","transparent","font-size","1.4em","color","rgb(94, 93, 93)","padding","5px 0px",3,"click"],["data-toggle","tooltip","data-placement","top","title","Descargar Constancia",1,"bi","bi-file-earmark-pdf"],[1,"d-flex","justify-content-center","mt-3"],[1,"pagination"],[1,"page-item"],["aria-label","Previous",1,"page-link",3,"click"],["class","page-item",3,"active",4,"ngFor","ngForOf"],["aria-label","Next",1,"page-link",3,"click"],[1,"page-link",3,"click"],[1,"custom-modal-backdrop"],[1,"custom-modal-dialog",2,"background-color","white","padding","20px","border-radius","10px"],[1,"custom-modal-content","text-center","p-4"],["role","status",1,"spinner-border","text-success","mb-3",2,"width","3rem","height","3rem"],[1,"progress","mt-3",2,"height","8px"],["role","progressbar",1,"progress-bar","progress-bar-striped","progress-bar-animated","bg-success",2,"width","100%"],[1,"custom-modal-backdrop",3,"click"],[1,"custom-modal",3,"click"],[1,"custom-modal-header"],[1,"custom-modal-title"],["type","button",1,"custom-close",3,"click"],[1,"custom-modal-body"],[1,"text-dark",2,"line-height","1.5",3,"innerHTML"]],template:function(r,o){if(1&r&&(h(0,"h2",0),m(1,"Realiza tu b\xfasqueda de forma segura y confiable."),p(),N(2,"hr",1),h(3,"p",2),m(4," Al ingresar los datos, los resultados te mostrar\xe1n que la persona profesionista cuenta con\u202ft\xedtulo registrado y c\xe9dula profesional expedida, cumpliendo con todos los\u202frequisitos de la ley. "),N(5,"br")(6,"br"),m(7," La informaci\xf3n publicada en este sitio se realiza en estricto apego a la Pol\xedtica de Datos Abiertos y en congruencia con los principios que rigen su publicaci\xf3n. Dicha informaci\xf3n se actualiza de manera peri\xf3dica; en consecuencia, la Secretar\xeda de Educaci\xf3n P\xfablica se deslinda de cualquier responsabilidad derivada del uso, reproducci\xf3n, adecuaci\xf3n o modalidad que pudiera adquirir en sitios web distintos al oficial.\n"),p(),h(8,"div",3),m(9,"\xa1Descarga la Constancia de Situaci\xf3n Profesional!"),p(),N(10,"br"),h(11,"p",4),m(12," Recuerda: "),h(13,"span",5),m(14,"La emisi\xf3n de la Constancia"),p(),m(15," es "),h(16,"span",5),m(17,"completamente gratuita"),p(),m(18,".\n"),p(),h(19,"div",6)(20,"div",7)(21,"ul",8)(22,"li",9)(23,"a",10),S("click",function(){return o.selectTab(2)}),m(24,"Datos generales"),p()(),h(25,"li",9)(26,"a",11),S("click",function(){return o.selectTab(1)}),m(27,"N\xfamero de c\xe9dula"),p()()(),h(28,"div",12)(29,"div",13)(30,"form",14)(31,"div",15)(32,"div",16)(33,"label"),m(34,"N\xfamero de C\xe9dula*:"),p(),h(35,"input",17),S("input",function(s){return o.filtrarNumeros(s,"cedula")}),p(),h(36,"div",18),L(37,gj,2,0,"small",19),L(38,mj,2,0,"small",19),p()()()()(),h(39,"div",20)(40,"form",14)(41,"div",21)(42,"div",16)(43,"label",22),m(44,"Nombre(s)*:"),p(),h(45,"input",23),S("input",function(s){return o.filtrarLetras(s,"nombre")}),p()(),h(46,"div",16)(47,"label",24),m(48,"Primer Apellido*:"),p(),h(49,"input",25),S("input",function(s){return o.filtrarLetras(s,"primerApellido")}),p()(),h(50,"div",16)(51,"label",26),m(52,"Segundo Apellido:"),p(),h(53,"input",27),S("input",function(s){return o.filtrarLetras(s,"segundoApellido")}),p()(),h(54,"div",16,28)(56,"label",29),m(57,"CURP:"),p(),h(58,"input",30),S("input",function(s){return o.filtrarCURP(s,"curp")}),p(),h(59,"div",18),L(60,vj,2,0,"small",19),p()()()()(),h(61,"div",31)(62,"button",32),S("click",function(){return o.onBuscarSettings()}),h(63,"span",33),m(64),p()(),h(65,"button",34),S("click",function(){return o.onLimpiar()}),h(66,"span",33),m(67,"Limpiar"),p()(),h(68,"button",35),S("click",function(){return o.generarCSV()}),h(69,"span",36),m(70,"Descargar CSV"),p(),h(71,"div",37),m(72,"CSV "),N(73,"i",38),p()()()(),N(74,"link",39),p(),L(75,yj,2,0,"div",40),h(76,"div",41),L(77,Cj,2,0,"p",42),L(78,bj,25,1,"table",43),L(79,wj,9,1,"div",44),p(),L(80,Ej,8,0,"div",45),p(),L(81,Mj,9,2,"div",46)),2&r){let i,s,a;D(22),I("ngClass",An(21,F0,2===o.selectedTab)),D(3),I("ngClass",An(23,F0,1===o.selectedTab)),D(4),I("ngClass",An(25,k0,1===o.selectedTab)),D(1),I("formGroup",o.cedulaForm),D(7),I("ngIf",(null==(i=o.cedulaForm.get("cedula"))||null==i.errors?null:i.errors.required)&&(null==(i=o.cedulaForm.get("cedula"))?null:i.touched)),D(1),I("ngIf",(null==(s=o.cedulaForm.get("cedula"))||null==s.errors?null:s.errors.pattern)&&(null==(s=o.cedulaForm.get("cedula"))?null:s.touched)),D(1),I("ngClass",An(27,k0,2===o.selectedTab)),D(1),I("formGroup",o.advancedSearchForm),D(5),I("disabled",o.formDisable),D(13),I("disabled",o.formDisable),D(2),I("ngIf",(null==(a=o.advancedSearchForm.get("curp"))?null:a.invalid)&&(null==(a=o.advancedSearchForm.get("curp"))?null:a.touched)),D(2),I("disabled",o.isBuscarDisabled||o.cargando),D(2),te("Buscar"),D(1),I("disabled",o.cargando),D(3),I("disabled",0===o.resultadosCedula.length||o.cargando),D(7),I("ngIf",o.cargando),D(2),I("ngIf",(null==o.resultadosCedula?null:o.resultadosCedula.length)>0),D(1),I("ngIf",(null==o.resultadosCedula?null:o.resultadosCedula.length)>0),D(1),I("ngIf",(null==o.resultadosCedula?null:o.resultadosCedula.length)>0),D(1),I("ngIf",o.generandoConstancia),D(1),I("ngIf",o.mostrarAlerta)}},dependencies:[Ff,Dr,wr,Pr,Ar,Ds,Tr,dl,Ps,Or,Zo,N0,fj],styles:[".container-cedula[_ngcontent-%COMP%]{max-width:100vw;background-color:#f8f9fa;border-radius:8px;box-shadow:0 4px 8px #0000001a;margin-bottom:5em}.ml[_ngcontent-%COMP%]{margin-left:15px!important}a[_ngcontent-%COMP%]{text-decoration:none}.btn[disabled][_ngcontent-%COMP%]{cursor:not-allowed;opacity:.5;color:#fff!important}.me-2[_ngcontent-%COMP%]{margin-right:.5rem}.btn-close[_ngcontent-%COMP%]{margin-left:1em!important}.mob[_ngcontent-%COMP%]{display:none}@media (max-width: 768px){.nav-tabs[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]{font-size:14px!important}.btn-group[_ngcontent-%COMP%]{margin:0 0 3em!important;display:flex!important;justify-content:center!important;flex-direction:row!important}.mlm[_ngcontent-%COMP%]{margin-left:5px!important}.desk[_ngcontent-%COMP%]{display:none!important}.mob[_ngcontent-%COMP%]{display:block!important}.btn[_ngcontent-%COMP%]{padding:10px 20px!important;font-size:12px!important}.btn-group[_ngcontent-%COMP%]{margin:20px;display:flex;justify-content:flex-end;flex-direction:column}}.result[_ngcontent-%COMP%]{display:flex;flex-direction:column;text-align:left;margin:2em}h2[_ngcontent-%COMP%]{font-weight:700;color:#343a40;text-align:left}.margen[_ngcontent-%COMP%]{margin:10px}.botones[_ngcontent-%COMP%]{display:flex;flex-direction:column}.form-check[_ngcontent-%COMP%]{margin-bottom:20px;display:flex}.form-check-input[_ngcontent-%COMP%]{transform:scale(1.3);margin-right:10px}.form-check-label[_ngcontent-%COMP%]{margin-top:1em;font-size:1rem;color:#495057}input.form-control[_ngcontent-%COMP%]{height:calc(1.5em + .75rem + 2px);font-size:1.5rem}.form-control[_ngcontent-%COMP%]{font-size:2rem;color:#495057}select[_ngcontent-%COMP%]{font-size:1.5rem!important;color:#495057!important;height:calc(1.5em + .75rem + 2px)!important}.text-danger[_ngcontent-%COMP%]{font-size:12px}table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{font-size:1.4rem}.spinner-container[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;margin-top:20px;margin-bottom:2em}.spinner[_ngcontent-%COMP%]{border:4px solid #f3f3f3;border-top:4px solid #b38e5d;border-radius:50%;width:40px;height:40px;animation:_ngcontent-%COMP%_spin 1s linear infinite}.spinner-btn-container[_ngcontent-%COMP%]{display:flex;align-items:center;margin-left:10px}.spinner-btn[_ngcontent-%COMP%]{border:3px solid #f3f3f3;border-top:3px solid #dc3545;border-radius:50%;width:20px;height:20px;animation:_ngcontent-%COMP%_spin 1s linear infinite;margin-right:5px;margin-left:-25px}@keyframes _ngcontent-%COMP%_spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.styled-select[_ngcontent-%COMP%]{margin:5px;padding:10px;font-size:14px;border-radius:5px;border:1px solid #ccc;background-color:#f9f9f9;appearance:none;-webkit-appearance:none;-moz-appearance:none;cursor:pointer;transition:all .3s ease}.styled-select[_ngcontent-%COMP%]:focus{border-color:#007bff;outline:none}.styled-select[_ngcontent-%COMP%]{margin:10px;padding:5px;font-size:12px;border-radius:5px;border:1px solid #ccc;background-color:#f9f9f9;appearance:none;-webkit-appearance:none;-moz-appearance:none;cursor:pointer;transition:all .3s ease}.styled-select[_ngcontent-%COMP%] option[_ngcontent-%COMP%]{padding:8px;font-size:12px}.styled-select[_ngcontent-%COMP%] option[_ngcontent-%COMP%]:hover{background-color:#007bff;color:#fff}.styled-select[_ngcontent-%COMP%] option[_ngcontent-%COMP%]:checked{background-color:#28a745;color:#fff}.modal-content[_ngcontent-%COMP%]{background-color:#fff;color:#611232;z-index:2}.page-link[_ngcontent-%COMP%]:active{background-color:#b38e5d!important}.btn-group[_ngcontent-%COMP%]{margin:20px;display:flex;justify-content:flex-end}hr.red[_ngcontent-%COMP%]{margin:20px 0}.busqueda-title[_ngcontent-%COMP%]{text-align:left;font-weight:700;color:#343a40}.busqueda-text[_ngcontent-%COMP%]{text-align:justify;color:#343a40;width:100%;margin-bottom:2em;font-size:16px}.rowForm[_ngcontent-%COMP%]{margin-left:-15px!important;margin-right:-15px!important;display:flex!important;flex-direction:row!important;flex-wrap:wrap!important}.text-danger[_ngcontent-%COMP%]{color:#a94442;margin-top:-1em!important;font-size:16px!important}.section-title[_ngcontent-%COMP%], .section-title1[_ngcontent-%COMP%]{font-weight:600;margin-top:3.2rem;margin-bottom:.8rem;color:#495057;padding-bottom:.25rem}.section-title1[_ngcontent-%COMP%]{border-top:none}.info-grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1rem}.correccion[_ngcontent-%COMP%]{font-size:14px;margin-top:1em}@media (max-width: 768px){.container-cedula[_ngcontent-%COMP%]{max-width:90vw;background-color:#f8f9fa;border-radius:8px;box-shadow:0 4px 8px #0000001a;margin-bottom:5em}input.form-control[_ngcontent-%COMP%]{font-size:1.2rem;height:calc(1.5em + .75rem + 2px);width:76vw}.correccion[_ngcontent-%COMP%]{font-size:12px}.btn[_ngcontent-%COMP%]{width:80%}}@media (max-width: 480px){.info-grid[_ngcontent-%COMP%]{grid-template-columns:1fr}}@media (max-width: 450px){.busqueda-text[_ngcontent-%COMP%]{width:100%}.busqueda-title[_ngcontent-%COMP%]{text-align:center;font-size:28px}}.pagination[_ngcontent-%COMP%]{margin:10px 0}.page-item.active[_ngcontent-%COMP%] .page-link[_ngcontent-%COMP%]{background-color:#611232;color:#fff;border:1px solid #611232}input.flatpickr-input[_ngcontent-%COMP%]{padding:10px;font-size:16px;border-radius:4px;border:1px solid #ccc}.flatpickr-calendar[_ngcontent-%COMP%]{background-color:#f7f7f7;border-radius:6px;border:1px solid #611232;box-shadow:0 2px 10px #0000001a}.spinner-border[_ngcontent-%COMP%]{width:3rem;height:3rem}"]})}return e})(),Sj=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275cmp=Ft({type:e,selectors:[["app-terminos-condiciones"]],decls:42,vars:0,consts:[[1,"container-bienvendia"],[1,"row"],[1,"col-md-12"],[1,"font-weight-bold","mb-4","text-left"],[1,"red"],[1,"text-justify"],["href","https://sep.gob.mx/es/sep1/Vinculacion","target","_blank","rel","noopener noreferrer"]],template:function(r,o){1&r&&(h(0,"div",0)(1,"div",1)(2,"div",2)(3,"h2",3),m(4,"T\xe9rminos y Condiciones"),p(),N(5,"hr",4),h(6,"p",5),m(7," Esta secci\xf3n delimita el marco legal y operativo del uso del portal para consulta de c\xe9dulas profesionales. "),p(),N(8,"br"),h(9,"ul",5)(10,"li")(11,"strong"),m(12,"Marco jur\xeddico:"),p(),m(13," Se refiere al art\xedculo 23 fracci\xf3n XIV de la Ley Reglamentaria del Art\xedculo 5\xb0 Constitucional sobre el ejercicio de las profesiones en el Distrito Federal, as\xed como los art\xedculos 25 y 32 de su Reglamento, que reconoce la c\xe9dula profesional con efectos de patente como documento oficial del profesionista, as\xed como el ACUERDO por el que se expiden los Lineamientos en materia de Datos Abiertos de la Administraci\xf3n P\xfablica Federal. "),p(),N(14,"br"),h(15,"li")(16,"strong"),m(17,"Naturaleza preliminar de la informaci\xf3n:"),p(),m(18," Los resultados de b\xfasqueda son solo preliminares. Si necesitas un documento certificante, deber\xe1s tramitar los \u201cAntecedentes Profesionales\u201d ante DGP. "),p(),N(19,"br"),h(20,"li")(21,"strong"),m(22,"Alcance del registro:"),p(),m(23," El RNP contiene datos de c\xe9dulas expedidas por la DGP; personas registradas ante otras autoridades estatales o extranjeras deben acudir directamente a dichas entidades para obtener informaci\xf3n complementaria. "),p(),N(24,"br"),h(25,"li")(26,"strong"),m(27,"No prejuzga estudios:"),p(),m(28," Se especifica que los datos no implican valoraci\xf3n sobre la calidad o contenido de los estudios realizados. "),p(),N(29,"br"),h(30,"li")(31,"strong"),m(32,"Correcciones de datos:"),p(),m(33," En caso de que la informaci\xf3n registrada sea incorrecta, imprecisa o est\xe9 desactualizada, el interesado deber\xe1 remitir una solicitud de enmienda al registro profesional, conforme al procedimiento publicado en el siguiente enlace: "),N(34,"br"),h(35,"a",6),m(36," https://sep.gob.mx/es/sep1/Vinculacion "),p()(),N(37,"br"),h(38,"li")(39,"strong"),m(40,"Responsabilidad del uso:"),p(),m(41," La SEP no se responsabiliza por el uso indebido o modificaciones del contenido en otros sitios web. "),p()()()()())},styles:['@charset "UTF-8";.container-terms[_ngcontent-%COMP%]{max-width:800px;margin:2em auto;padding:20px;background-color:#f8f9fa;border-radius:8px;box-shadow:0 4px 8px #0000001a;color:#343a40}.txt-terms[_ngcontent-%COMP%]{text-align:justify}hr.red[_ngcontent-%COMP%]{margin:20px 0}.breadcrumb-container[_ngcontent-%COMP%]{margin-bottom:20px}.breadcrumb[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;padding:0;margin:0;list-style:none;background-color:transparent;font-size:14px}.breadcrumb-item[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none;color:#007bff;transition:color .3s ease}.breadcrumb-item[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{color:#0056b3}.breadcrumb-item.active[_ngcontent-%COMP%]{color:#6c757d}.terms-title[_ngcontent-%COMP%]{font-size:24px;font-weight:700;margin-bottom:1.5em;text-align:center}.terms-content[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:18px;font-weight:700;margin-top:1.5em;margin-bottom:.5em}.terms-content[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:16px;line-height:1.6;margin-bottom:1em}p[_ngcontent-%COMP%]{font-size:16px}@media (max-width: 600px){h2[_ngcontent-%COMP%]{text-align:center!important}}']})}return e})(),V0=(()=>{class e{http;configService;get datosA(){return`${this.configService.config.apiUrl}/datos-abiertos/publicaciones/tipoArchivo/1`}get ConstE(){return`${this.configService.config.apiUrl}/datos-abiertos/publicaciones/tipoArchivo/2`}get postDatos(){return`${this.configService.config.apiUrl}/datos-abiertos/publicaciones/descargar`}constructor(t,r){this.http=t,this.configService=r}getDatosAbiertos(t){return this.http.get(this.datosA,{headers:{Authorization:`Bearer ${t}`}})}getConstanciasEmitidas(t){return this.http.get(this.ConstE,{headers:{Authorization:`Bearer ${t}`}})}getGenerarDescarga(t,r,o){const i=`${this.postDatos}/${encodeURIComponent(t)}`;return this.http.get(i,{headers:{Authorization:`Bearer ${r}`,"X-Recaptcha-Token":o},responseType:"blob"})}static \u0275fac=function(r){return new(r||e)(A(Ko),A(sr))};static \u0275prov=R({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function Ij(e,n){if(1&e){const t=Ve();h(0,"tr")(1,"td"),m(2),p(),h(3,"td")(4,"button",16),S("click",function(){const i=fe(t).$implicit;return he(G().descargarArchivo(i.id,i.nombreArchivo,"archivo"))}),N(5,"span",17),m(6," Descargar Archivo "),p()()()}if(2&e){const t=n.$implicit;D(2),te(t.descPublicacion)}}function Aj(e,n){1&e&&(h(0,"tr")(1,"td",18),m(2,"No se hallaron resultados para tu b\xfasqueda."),p()())}function Tj(e,n){if(1&e){const t=Ve();h(0,"div",19)(1,"div",20)(2,"h5",21),m(3),p(),h(4,"button",16),S("click",function(){const i=fe(t).$implicit;return he(G().descargarArchivo(i.id,i.nombreArchivo,"archivo"))}),N(5,"span",17),m(6," Descargar Archivo "),p()()()}if(2&e){const t=n.$implicit;D(3),te(t.descPublicacion)}}function xj(e,n){1&e&&(h(0,"div",22),m(1," No se hallaron resultados para su b\xfasqueda. "),p())}function Pj(e,n){if(1&e){const t=Ve();h(0,"div",23),S("click",function(){return fe(t),he(G().cerrarModal())}),h(1,"div",24),S("click",function(o){return o.stopPropagation()}),h(2,"div",25)(3,"h5",26),m(4,"Mensaje"),p(),h(5,"button",27),S("click",function(){return fe(t),he(G().cerrarModal())}),m(6,"\xd7"),p()(),h(7,"div",28),N(8,"p",29),p()()()}if(2&e){const t=G();D(8),I("innerHTML",t.mensajeAlerta,Zn)}}function Oj(e,n){1&e&&(h(0,"div",30)(1,"div",31)(2,"div",32),N(3,"div",33),h(4,"h6"),m(5,"Descargando archivo, espera un momento..."),p(),h(6,"div",34),N(7,"div",35),p()()()())}let Rj=(()=>{class e{analytics;datosService;authService;cdRef;reCaptcha;datos=[];datosFiltrados=[];mostrarAlerta=!1;mensajeAlerta="";scrollY=0;descargando=!1;mostrandoModalDescarga=!1;constructor(t,r,o,i,s){this.analytics=t,this.datosService=r,this.authService=o,this.cdRef=i,this.reCaptcha=s}ngOnInit(){this.authService.obtenerToken().pipe(Y(t=>{if(!t)throw new Error("No se obtuvo un token v\xe1lido para obtener los datos.");return this.datosService.getDatosAbiertos(t)}),we(t=>401===t.status||403===t.status?(this.authService.limpiarToken(),this.authService.obtenerToken().pipe(Y(r=>{if(!r)throw new Error("No se pudo obtener un token v\xe1lido al reintentar.");return this.datosService.getDatosAbiertos(r)}))):_t(()=>t))).subscribe({next:t=>{this.datos=t,this.datosFiltrados=[...t],console.log(t)},error:t=>{console.error("Error al obtener datos abiertos",t)}})}scrollAlBuscar(){setTimeout(()=>{document.getElementById("buscar")?.scrollIntoView({behavior:"smooth",block:"center"})},300)}filtrarDatos(t){const o=t.target.value;this.datosFiltrados=this.datos.filter(i=>i.descPublicacion.toLowerCase().includes(o.toLowerCase()))}ngOnChanges(){this.mostrarAlerta?document.body.classList.add("modal-open"):document.body.classList.remove("modal-open")}mostrarModalAlerta(t){this.scrollY=window.scrollY||window.pageYOffset,this.mensajeAlerta=t,this.mostrarAlerta=!0,document.body.style.position="fixed",document.body.style.top=`-${this.scrollY}px`,document.body.style.left="0",document.body.style.right="0",document.body.style.width="100%",this.cdRef.detectChanges()}cerrarModal(){this.mostrarAlerta=!1,document.body.style.position="",document.body.style.top="",document.body.style.left="",document.body.style.right="",document.body.style.width="",window.scrollTo(0,this.scrollY)}LIMITE_DESCARGAS=3;BLOQUEO_HORAS=24;archivoBloqueado(t){const r=localStorage.getItem(`descargas_${t}`);if(!r)return!1;const o=JSON.parse(r);return Date.now()-o.inicio>60*this.BLOQUEO_HORAS*60*1e3?(localStorage.removeItem(`descargas_${t}`),!1):o.contador>=this.LIMITE_DESCARGAS}registrarDescarga(t){const r=`descargas_${t}`,o=Date.now();let i={contador:0,inicio:o};const s=localStorage.getItem(r);s&&(i=JSON.parse(s),o-i.inicio>60*this.BLOQUEO_HORAS*60*1e3&&(i={contador:0,inicio:o})),i.contador++,localStorage.setItem(r,JSON.stringify(i))}descargarArchivo(t,r,o){this.archivoBloqueado(r)?this.mostrarModalAlerta(`Ya ha descargado m\xe1s de ${this.LIMITE_DESCARGAS} veces este archivo. Espera ${this.BLOQUEO_HORAS} horas para volver a descargarlo.`):(this.descargando=!0,this.mostrandoModalDescarga=!0,this.reCaptcha.execute("descargar").then(i=>{this.authService.obtenerToken().pipe(Y(s=>{if(!s)throw new Error("No se obtuvo un token v\xe1lido para realizar la descarga.");return this.datosService.getGenerarDescarga(r,s,i)}),we(s=>401===s.status||403===s.status?(this.authService.limpiarToken(),this.authService.obtenerToken().pipe(Y(a=>{if(!a)throw new Error("No se pudo obtener un token v\xe1lido al reintentar.");return this.datosService.getGenerarDescarga(r,a,i)}))):404===s.status?(this.mostrarModalAlerta("Archivo no encontrado."),F(null)):(s.error instanceof Blob&&s.error.text().then(a=>{console.error("\u274c Error Backend Descarga:",a)}),this.mostrarModalAlerta("Error al descargar archivo. Intente nuevamente."),F(null)))).subscribe(s=>{if(this.descargando=!1,this.mostrandoModalDescarga=!1,!s)return;this.registrarDescarga(r),this.analytics.enviarEvento("descarga_constancia",{idPublicacion:t,nombre_archivo:r,tipo_archivo:o,fecha:(new Date).toISOString(),debug_mode:!0});const a=window.URL.createObjectURL(s),c=document.createElement("a");c.href=a,c.download=r,c.click(),window.URL.revokeObjectURL(a),this.analytics.enviarEvento("descarga_Titulo_Electronico",{nombre_archivo:r,tipo_archivo:o,extension:this.obtenerExtension(r)})})}).catch(i=>{console.error("\u274c Error al ejecutar reCAPTCHA:",i),this.descargando=!1,this.mostrandoModalDescarga=!1,this.mostrarModalAlerta("Error al validar reCAPTCHA. Intente nuevamente.")}))}obtenerExtension(t){return t.split(".").pop()||"desconocido"}static \u0275fac=function(r){return new(r||e)(C(Ns),C(V0),C(Xo),C(Pn),C(Jo))};static \u0275cmp=Ft({type:e,selectors:[["app-datos-abiertos"]],features:[ot],decls:30,vars:6,consts:[[1,"mb-3",2,"text-align","left"],[1,"red"],[1,"container","mt-4",2,"border","1px solid #e0e0e0","padding","2em","border-radius","10px","max-width","90vw","width","1150px"],[1,"mb-4","p-3",2,"display","flex","align-items","center"],[1,"input-group",2,"width","100%","text-align","left"],["for","buscar",1,"me-2"],["id","buscar","type","text","placeholder","Ingresa palabras clave...",1,"form-control",3,"input","focus"],[1,"table-responsive","d-none","d-md-block"],[1,"table","table-striped"],[4,"ngFor","ngForOf"],[4,"ngIf"],[1,"d-block","d-md-none","tarjetas"],["class","card mb-3 shadow-sm",4,"ngFor","ngForOf"],["class","text-center text-muted mt-3",4,"ngIf"],["class","custom-modal-backdrop",3,"click",4,"ngIf"],["class","custom-modal-backdrop",4,"ngIf"],[1,"btn","btn-primary","btn-block","mt-2",3,"click"],["aria-hidden","true",1,"glyphicon","glyphicon-download-alt"],["colspan","2",1,"text-center","text-muted"],[1,"card","mb-3","shadow-sm"],[1,"card-body"],[1,"card-title"],[1,"text-center","text-muted","mt-3"],[1,"custom-modal-backdrop",3,"click"],[1,"custom-modal",3,"click"],[1,"custom-modal-header"],[1,"custom-modal-title"],[1,"custom-close",3,"click"],[1,"custom-modal-body"],[2,"font-size","16px",3,"innerHTML"],[1,"custom-modal-backdrop"],[1,"custom-modal-dialog",2,"background-color","white","padding","20px","border-radius","10px"],[1,"custom-modal-content","text-center","p-4"],["role","status",1,"spinner-border","text-success","mb-3",2,"width","3rem","height","3rem"],[1,"progress","mt-3",2,"height","8px"],["role","progressbar",1,"progress-bar","progress-bar-striped","progress-bar-animated","bg-success",2,"width","100%"]],template:function(r,o){1&r&&(h(0,"h2",0),m(1,"Aviso de Publicaci\xf3n de T\xedtulos Electr\xf3nicos"),p(),N(2,"hr",1),h(3,"p"),m(4,"De conformidad con lo establecido en el "),h(5,"strong"),m(6,"Art\xedculo 23, Fracci\xf3n XII de la Ley Reglamentaria del Art\xedculo 5\xba Constitucional, relativa al ejercicio de las profesiones en la Ciudad de M\xe9xico"),p(),m(7,", y en apego a las disposiciones normativas vigentes, se hace p\xfablica la relaci\xf3n de profesionistas titulados durante el ejercicio 2024, cuyo t\xedtulo ha sido debidamente registrado ante la Direcci\xf3n General de Profesiones.\n"),p(),h(8,"div",2)(9,"form",3)(10,"div",4)(11,"label",5),m(12,"Buscar:"),p(),h(13,"input",6),S("input",function(s){return o.filtrarDatos(s)})("focus",function(){return o.scrollAlBuscar()}),p()()(),h(14,"div",7)(15,"table",8)(16,"thead")(17,"tr")(18,"th"),m(19,"Descripci\xf3n"),p(),h(20,"th"),m(21,"Acciones"),p()()(),h(22,"tbody"),L(23,Ij,7,1,"tr",9),L(24,Aj,3,0,"tr",10),p()()(),h(25,"div",11),L(26,Tj,7,1,"div",12),L(27,xj,2,0,"div",13),p()(),L(28,Pj,9,1,"div",14),L(29,Oj,8,0,"div",15)),2&r&&(D(23),I("ngForOf",o.datosFiltrados),D(1),I("ngIf",0===o.datosFiltrados.length),D(2),I("ngForOf",o.datosFiltrados),D(1),I("ngIf",0===o.datosFiltrados.length),D(1),I("ngIf",o.mostrarAlerta),D(1),I("ngIf",o.mostrandoModalDescarga))},dependencies:[Dr,wr,Pr,Tr,Ts],styles:['@charset "UTF-8";.container[_ngcontent-%COMP%]{max-width:1200px;margin:auto}.tarjetas[_ngcontent-%COMP%]{display:none}table[_ngcontent-%COMP%]{width:100%;margin-top:20px}th[_ngcontent-%COMP%]{background-color:#f8f9fa;color:#495057;text-align:left;font-weight:600}hr.red[_ngcontent-%COMP%]{margin:20px 0}p[_ngcontent-%COMP%]{font-size:16px}td[_ngcontent-%COMP%]{text-align:left}button[_ngcontent-%COMP%]{margin-right:10px}button[_ngcontent-%COMP%]:hover{opacity:.9}.table-responsive[_ngcontent-%COMP%]{max-height:500px;overflow-y:auto}p[_ngcontent-%COMP%]{text-align:justify;margin-bottom:4em}@media (max-width: 768px){p[_ngcontent-%COMP%]{width:100%;font-size:14px}}@media (max-width: 767.98px){h2[_ngcontent-%COMP%]{font-size:1.5em;text-align:center!important}.table-responsive[_ngcontent-%COMP%]{display:none}.tarjetas[_ngcontent-%COMP%]{display:block;margin-top:20px}.card[_ngcontent-%COMP%]{border:1px solid #e0e0e0;border-radius:10px;margin-bottom:1rem;padding:.8em;box-shadow:0 2px 6px #0000000d}.card-body[_ngcontent-%COMP%]{padding:.5em .8em}.card-title[_ngcontent-%COMP%]{font-size:.95em;font-weight:600;color:#333;margin-bottom:.5rem}.btn-block[_ngcontent-%COMP%]{width:100%;font-size:.85em;padding:.4em .75em}}']})}return e})(),Nj=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275cmp=Ft({type:e,selectors:[["app-bienvenida"]],decls:23,vars:0,consts:[[1,"container-bienvendia"],[1,"row","justify-content-center"],[1,"col-md-12"],[1,"font-weight-bold","mb-4"],[1,"red"],[1,"text-justify"]],template:function(r,o){1&r&&(h(0,"div",0)(1,"div",1)(2,"div",2)(3,"h2",3),m(4,"Bienvenida"),p(),N(5,"hr",4),h(6,"p",5),m(7," El "),h(8,"b"),m(9,"Registro Nacional de Profesionistas"),p(),m(10,", administrado por la Direcci\xf3n General de Profesiones (DGP) de la Secretar\xeda de Educaci\xf3n P\xfablica (SEP), es "),h(11,"b"),m(12,"de acceso p\xfablico"),p(),m(13,", conforme al art\xedculo 23 fracci\xf3n XIV de la Ley Reglamentaria del Art\xedculo 5\xb0 Constitucional sobre el ejercicio de las profesiones en el Distrito Federal, as\xed como los art\xedculos 25 y 32 de su Reglamento. "),N(14,"br")(15,"br"),m(16," Su prop\xf3sito es "),h(17,"b"),m(18,"facilitar la b\xfasqueda de profesionistas"),p(),m(19," que cuentan con t\xedtulo registrado y c\xe9dula profesional con efectos de patente; esto delimita la responsabilidad del Registro Nacional de Profesionistas, al definirla como la \xfanica instancia v\xe1lida para hacer uso de esta informaci\xf3n. "),N(20,"br")(21,"br"),m(22," La informaci\xf3n publicada en este sitio se realiza en estricto apego a la Pol\xedtica de Datos Abiertos y en congruencia con los principios que rigen su publicaci\xf3n. Dicha informaci\xf3n se actualiza de manera peri\xf3dica; en consecuencia, la Secretar\xeda de Educaci\xf3n P\xfablica se deslinda de cualquier responsabilidad derivada del uso, reproducci\xf3n, adecuaci\xf3n o modalidad que pudiera adquirir en sitios web distintos al oficial. "),p()()()())},styles:["h2[_ngcontent-%COMP%]{text-align:left}p[_ngcontent-%COMP%]{font-size:16px}hr.red[_ngcontent-%COMP%]{margin:20px 0}@media (max-width: 600px){h2[_ngcontent-%COMP%]{text-align:center}}"]})}return e})();let Fj=(()=>{class e{http;configService;constructor(t,r){this.http=t,this.configService=r}getTipoComentario(t){const o=`${this.configService.config.apiUrl.concat("/catalogo/consulta")}/getTipocomentario`,i=new _e({Authorization:`Bearer ${t}`});return this.http.get(o,{headers:i})}gdrContacto(t,r){const o=`${this.configService.config.apiCont}/contacto/registrarComentario`,i={idTcomentario:{id:t.tiporegistro},nombre:t.nombreregistro,primerApellido:t.paternoregistro,segundoApellido:t.maternoregistro,email:t.emailregistro,telefono:t.telefonoregistro,mensaje:t.mensajeregistro},s=new _e({Authorization:`Bearer ${r}`,"Content-Type":"application/json"});return this.http.post(o,i,{headers:s})}static \u0275fac=function(r){return new(r||e)(A(Ko),A(sr))};static \u0275prov=R({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function kj(e,n){if(1&e&&(h(0,"option",28),m(1),p()),2&e){const t=n.$implicit;I("value",t.id),D(1),te(t.descComentario)}}function Lj(e,n){1&e&&(h(0,"span"),m(1,"Enviar"),p())}function Vj(e,n){1&e&&(h(0,"span"),m(1,"Enviando..."),p())}function jj(e,n){if(1&e){const t=Ve();h(0,"div",29),S("click",function(){return fe(t),he(G().cerrarModal())}),h(1,"div",30),S("click",function(o){return o.stopPropagation()}),h(2,"div",31)(3,"h5",32),m(4,"Mensaje"),p(),h(5,"button",33),S("click",function(){return fe(t),he(G().cerrarModal())}),m(6,"\xd7"),p()(),h(7,"div",34),N(8,"p",35),p()()()}if(2&e){const t=G();D(8),I("innerHTML",t.mensajeAlerta(),Zn)}}function Bj(e,n){if(1&e){const t=Ve();h(0,"div",29),S("click",function(){return fe(t),he(G().cerrarModalMensaje())}),h(1,"div",30),S("click",function(o){return o.stopPropagation()}),h(2,"div",31)(3,"h5",32),m(4,"Recomendaci\xf3n"),p(),h(5,"button",33),S("click",function(){return fe(t),he(G().cerrarModalMensaje())}),m(6,"\xd7"),p()(),h(7,"div",34),N(8,"p",35),p()()()}if(2&e){const t=G();D(8),I("innerHTML",t.mensajeEspecial(),Zn)}}function Uj(e,n){if(1&e){const t=Ve();h(0,"div",5)(1,"a",6)(2,"img",7),S("load",function(o){const s=fe(t).$implicit;return he(G().verificarOrientacion(o,s))}),p()()()}if(2&e){const t=n.$implicit;D(1),I("href",t.enlace,Oa),D(1),xt("horizontal-mobile",t.esHorizontal),nc("alt","Imagen de ",t.ImagenUrl,""),I("src","assets/"+t.ImagenUrl,Oa)}}function zj(e,n){if(1&e){const t=Ve();h(0,"tr")(1,"td"),m(2),p(),h(3,"td")(4,"button",16),S("click",function(){const i=fe(t).$implicit;return he(G().descargarArchivo(i.id,i.nombreArchivo,"archivo"))}),N(5,"span",17),m(6," Descargar Archivo "),p()()()}if(2&e){const t=n.$implicit;D(2),te(t.descPublicacion)}}function Gj(e,n){1&e&&(h(0,"tr")(1,"td",18),m(2,"No se hallaron resultados para tu b\xfasqueda."),p()())}function qj(e,n){if(1&e){const t=Ve();h(0,"div",19)(1,"div",20)(2,"h5",21),m(3),p(),h(4,"button",16),S("click",function(){const i=fe(t).$implicit;return he(G().descargarArchivo(i.id,i.nombreArchivo,"archivo"))}),N(5,"span",17),m(6," Descargar Archivo "),p()()()}if(2&e){const t=n.$implicit;D(3),te(t.descPublicacion)}}function Wj(e,n){1&e&&(h(0,"div",22),m(1," No se hallaron resultados para su b\xfasqueda. "),p())}function Zj(e,n){if(1&e){const t=Ve();h(0,"div",23),S("click",function(){return fe(t),he(G().cerrarModal())}),h(1,"div",24),S("click",function(o){return o.stopPropagation()}),h(2,"div",25)(3,"h5",26),m(4,"Mensaje"),p(),h(5,"button",27),S("click",function(){return fe(t),he(G().cerrarModal())}),m(6,"\xd7"),p()(),h(7,"div",28),N(8,"p",29),p()()()}if(2&e){const t=G();D(8),I("innerHTML",t.mensajeAlerta,Zn)}}function Yj(e,n){1&e&&(h(0,"div",30)(1,"div",31)(2,"div",32),N(3,"div",33),h(4,"h6"),m(5,"Descargando archivo, espera un momento..."),p(),h(6,"div",34),N(7,"div",35),p()()()())}function Kj(e,n){1&e&&(h(0,"small"),m(1," Agrega un folio v\xe1lido. "),p())}function Xj(e,n){1&e&&(h(0,"div",20),m(1,"Buscando informaci\xf3n..."),p())}function Jj(e,n){if(1&e){const t=Ve();h(0,"div",21),S("click",function(){return fe(t),he(G().cerrarModal())}),h(1,"div",22),S("click",function(o){return o.stopPropagation()}),h(2,"div",23)(3,"h5",24),m(4,"Mensaje"),p(),h(5,"button",25),S("click",function(){return fe(t),he(G().cerrarModal())}),m(6,"\xd7"),p()(),h(7,"div",26),N(8,"p",27),p()()()}if(2&e){const t=G();D(8),I("innerHTML",t.errorMsg,Zn)}}function e3(e,n){1&e&&(h(0,"div",36)(1,"strong"),m(2,"Estatus:"),p(),m(3," Vigente "),p())}function t3(e,n){1&e&&(h(0,"div",37)(1,"strong"),m(2,"Estatus:"),p(),m(3," No Vigente. "),p())}function n3(e,n){if(1&e&&(h(0,"div",28)(1,"h5",29),m(2,"Datos del Profesional"),p(),N(3,"hr",1),h(4,"div",30)(5,"table",31)(6,"tbody")(7,"tr")(8,"th",32),m(9,"Folio"),p(),h(10,"td"),m(11),p()(),h(12,"tr")(13,"th"),m(14,"Nombre Completo"),p(),h(15,"td"),m(16),p()(),h(17,"tr")(18,"th"),m(19,"Fecha de Emisi\xf3n"),p(),h(20,"td"),m(21),qd(22,"date"),p()()()(),h(23,"div",33),L(24,e3,4,0,"div",34),L(25,t3,4,0,"div",35),p()()()),2&e){const t=G();D(11),te(t.formatFolio(t.datos.id)),D(5),te(t.datos.nombreCompleto),D(5),te(function KC(e,n,t,r){const o=e+X,i=w(),s=Gr(i,o);return Xi(i,o)?qC(i,it(),n,s.transform,t,r,s):s.transform(t,r)}(22,5,t.datos.fechaRegistro,"dd/MM/yyyy")),D(3),I("ngIf","Vigente"===t.obtenerEstatus()),D(1),I("ngIf","Caducado"===t.obtenerEstatus())}}const o3=["modalGenerandoPdf"],i3=["resultsContainer"];function s3(e,n){1&e&&(h(0,"small"),m(1," El campo c\xe9dula es obligatorio. "),p())}function a3(e,n){1&e&&(h(0,"small"),m(1," La c\xe9dula debe tener entre 7 y 8 d\xedgitos num\xe9ricos. "),p())}function c3(e,n){1&e&&(h(0,"small"),m(1," M\xednimo 3 caracteres. "),p())}function l3(e,n){1&e&&(h(0,"small"),m(1," Car\xe1cter no v\xe1lido. "),p())}function u3(e,n){if(1&e&&(h(0,"div",18),L(1,c3,2,0,"small",19),L(2,l3,2,0,"small",19),p()),2&e){const t=G();let r,o;D(1),I("ngIf",null==(r=t.advancedSearchForm.get("nombre"))||null==r.errors?null:r.errors.minlength),D(1),I("ngIf",null==(o=t.advancedSearchForm.get("nombre"))||null==o.errors?null:o.errors.pattern)}}function d3(e,n){1&e&&(h(0,"small"),m(1," M\xednimo 3 caracteres. "),p())}function f3(e,n){1&e&&(h(0,"small"),m(1," Car\xe1cter no v\xe1lido. "),p())}function h3(e,n){if(1&e&&(h(0,"div",18),L(1,d3,2,0,"small",19),L(2,f3,2,0,"small",19),p()),2&e){const t=G();let r,o;D(1),I("ngIf",null==(r=t.advancedSearchForm.get("primerApellido"))||null==r.errors?null:r.errors.minlength),D(1),I("ngIf",null==(o=t.advancedSearchForm.get("primerApellido"))||null==o.errors?null:o.errors.pattern)}}function p3(e,n){1&e&&(h(0,"div",41),N(1,"div",42),p())}function g3(e,n){1&e&&(h(0,"p",43),m(1,"Resultados de la B\xfasqueda"),p())}function m3(e,n){if(1&e){const t=Ve();h(0,"tr")(1,"td",45),m(2),p(),h(3,"td",45),m(4),p(),h(5,"td",45),m(6),p(),h(7,"td",45),m(8),p(),h(9,"td",45),m(10),p(),h(11,"td",45),m(12),p(),h(13,"td",45),m(14),p(),h(15,"td",45),m(16),p(),h(17,"td",45)(18,"div",48)(19,"button",49),S("click",function(){const i=fe(t).$implicit;return he(G(2).generarAnexoPDF(i))}),N(20,"i",50),p()()()()}if(2&e){const t=n.$implicit;D(2),te(t.cedula),D(2),te(t.nombre),D(2),te(t.primerApellido),D(2),te(t.segundoApellido),D(2),te(t.institucion),D(2),te(t.nivel),D(2),te(t.carrera),D(2),te(t.expedicion)}}function v3(e,n){if(1&e&&(h(0,"table",44)(1,"thead")(2,"tr")(3,"th",45),m(4,"N\xfam. C\xe9dula"),p(),h(5,"th",45),m(6,"Nombre"),p(),h(7,"th",45),m(8,"Primer Apellido"),p(),h(9,"th",45),m(10,"Segundo Apellido"),p(),h(11,"th",45),m(12,"Instituci\xf3n Educativa"),p(),h(13,"th",45),m(14,"Nivel Educativo"),p(),h(15,"th",45),m(16,"Profesi\xf3n"),p(),h(17,"th",45),m(18,"A\xf1o de Expedici\xf3n"),p(),h(19,"th",45),m(20,"Constancia"),p()()(),h(21,"tbody",46),L(22,m3,21,8,"tr",47),p()()),2&e){const t=G();D(22),I("ngForOf",t.paginatedResultadosCedula)}}function y3(e,n){if(1&e){const t=Ve();h(0,"li",53)(1,"a",57),S("click",function(){const i=fe(t).$implicit;return he(G(2).pageChange(i))}),m(2),p()()}if(2&e){const t=n.$implicit;xt("active",G(2).currentPage===t),D(2),te(t)}}function C3(e,n){if(1&e){const t=Ve();h(0,"div",51)(1,"ul",52)(2,"li",53)(3,"a",54),S("click",function(){return fe(t),he(G().previousPage())}),m(4,"\xab"),p()(),L(5,y3,3,3,"li",55),h(6,"li",53)(7,"a",56),S("click",function(){return fe(t),he(G().nextPage())}),m(8,"\xbb"),p()()()()}if(2&e){const t=G();D(5),I("ngForOf",t.pages)}}function _3(e,n){1&e&&(h(0,"div",58)(1,"div",59)(2,"div",60),N(3,"div",61),h(4,"h6"),m(5,"Generando Constancia, espera un momento..."),p(),h(6,"div",62),N(7,"div",63),p()()()())}function b3(e,n){if(1&e){const t=Ve();h(0,"div",64),S("click",function(){return fe(t),he(G().cerrarModal())}),h(1,"div",65),S("click",function(o){return o.stopPropagation()}),h(2,"div",66)(3,"h5",67),m(4,"Mensaje"),p(),h(5,"button",68),S("click",function(){return fe(t),he(G().cerrarModal())}),m(6,"\xd7"),p()(),h(7,"div",69),N(8,"p",70),p()()()}if(2&e){const t=G();D(8),I("innerHTML",t.mensajeAlerta,Zn)}}const j0=function(e){return{active:e}},B0=function(e){return{"active show":e}},D3=[{path:"",component:L0,data:{breadcrumb:"B\xfasqueda de C\xe9dulas Profesionales"}},{path:"cedula/indexAvanzada.action",component:L0,data:{breadcrumb:"B\xfasqueda de C\xe9dulas Profesionales"}},{path:"cedula-profesional/Bienvenida",component:Nj,data:{breadcrumb:"Bienvenida"}},{path:"cedula-profesional/terminos-y-condiciones",component:Sj,data:{breadcrumb:"T\xe9rminos y Condiciones"}},{path:"cedula-profesional/contacto",component:(()=>{class e{router;formBuilder;contactoService;authService;recaptcha;recaptchaKey="6LdvaAkrAAAAAH9XfMio2Z02lNO0fAsAvBv7ylcE";contactoForm;isSubmitForm=Hn(!1);msgContacto=Hn(!1);elmensaje=Hn("");arrTipoCon=Hn([]);miContacto={};mostrarAlerta=Hn(!1);mensajeAlerta=Hn("");mensajeEspecial=Hn("");mostrarMensaje=Hn(!1);scrollY=0;isModalOpen=function NM(e,n){const t=Object.create(FM);t.computation=e,n?.equal&&(t.equal=n.equal);const r=()=>{if(qp(t),Gp(t),t.value===na)throw t.error;return t.value};return r[Un]=t,r}(()=>(this.mostrarAlerta()?(this.scrollY=window.scrollY,document.body.style.position="fixed",document.body.style.top=`-${this.scrollY}px`,document.body.style.width="100%"):(document.body.style.position="",document.body.style.top="",window.scrollTo(0,this.scrollY)),this.mostrarAlerta()));constructor(t,r,o,i,s){this.router=t,this.formBuilder=r,this.contactoService=o,this.authService=i,this.recaptcha=s,this.contactoForm=this.formBuilder.group({tiporegistro:["",[q.required]],nombreregistro:["",[q.required,q.minLength(1),q.maxLength(100)]],paternoregistro:["",[q.required,q.minLength(1),q.maxLength(100)]],maternoregistro:[""],emailregistro:["",[q.required,q.pattern("^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,15}$")]],telefonoregistro:["",[q.required,q.minLength(10),q.maxLength(10),q.pattern("^[0-9]*$")]],mensajeregistro:["",[q.required,q.minLength(10),q.maxLength(1e3)]]})}ngOnInit(){this.mostrarTipo()}registroCont(){if(this.isSubmitForm.set(!0),this.contactoForm.invalid){this.contactoForm.markAllAsTouched();const{erroresGenerales:t,errorMensaje:r}=this.obtenerErroresFormulario();return t.length>0&&this.mostrarModalAlerta(t.join("
")),r&&this.mostrarModalMensaje(r),void this.isSubmitForm.set(!1)}this.miContacto=this.contactoForm.value,F(this.miContacto).pipe(Y(t=>Promise.resolve(this.recaptcha.execute("submit")).then(r=>({...t,recaptchaToken:r})).catch(()=>{throw new Error("reCAPTCHA_ERROR")})),Y(t=>this.authService.obtenerToken().pipe(Y(r=>{if(!r)throw new Error("AUTH_TOKEN_ERROR");return this.contactoService.gdrContacto(t,r)}),we(r=>401===r.status||403===r.status?(this.authService.limpiarToken(),this.authService.obtenerToken().pipe(Y(o=>{if(!o)throw new Error("RETRY_AUTH_TOKEN_ERROR");return this.contactoService.gdrContacto(t,o)}),we(()=>_t(()=>new Error("RETRY_FAILED"))))):_t(()=>r)))),Vo(()=>this.isSubmitForm.set(!1))).subscribe({next:t=>{t&&t.id>0?(this.contactoForm.reset({tiporegistro:""}),this.elmensaje.set("\xa1Su mensaje fue enviado!"),this.mostrarModalAlerta("Tu solicitud ha sido recibida correctamente. Pronto nos pondremos en contacto contigo al correo que proporcionaste. Aseg\xfarate de que est\xe9 disponible para recibir nuestras notificaciones.")):this.mostrarModalAlerta("No se pudo enviar su mensaje, por favor intente nuevamente.")},error:t=>{console.error("\u274c Error en el flujo de env\xedo:",t);let r="Ocurri\xf3 un error al enviar el mensaje. Por favor intente nuevamente.";"reCAPTCHA_ERROR"===t.message&&(r="No fue posible validar el reCAPTCHA. Por favor recargue la p\xe1gina e intente nuevamente."),this.mostrarModalAlerta(r)}})}mostrarModalAlerta(t){this.mensajeAlerta.set(t),this.mostrarAlerta.set(!0)}mostrarModalMensaje(t){this.mensajeEspecial.set(t),this.mostrarMensaje.set(!0)}cerrarModal(){this.mostrarAlerta.set(!1)}cerrarModalMensaje(){this.mostrarMensaje.set(!1)}obtenerErroresFormulario(){const t=[];let r=null;return Object.keys(this.contactoForm.controls).forEach(o=>{const i=this.contactoForm.get(o);if(i&&i.invalid){const s=i.errors,a=this.obtenerNombreCampoAmigable(o);s?.required&&t.push(`- ${a} es requerido.`),s?.minlength&&("mensajeregistro"===o?r="\n Para brindarte un mejor servicio y responderte con mayor rapidez, \n te sugerimos realizar tu solicitud de forma clara y precisa.\n ":t.push(`- ${a} no cumple con la longitud m\xednima.`)),s?.pattern&&t.push("emailregistro"===o?`- ${a} no tiene un formato de correo v\xe1lido.`:`- ${a} contiene caracteres no permitidos.`)}}),{erroresGenerales:t,errorMensaje:r}}obtenerNombreCampoAmigable(t){return{tiporegistro:"Tipo de Petici\xf3n",nombreregistro:"Nombre(s)",paternoregistro:"Apellido paterno",maternoregistro:"Apellido materno",emailregistro:"Correo electr\xf3nico",telefonoregistro:"Tel\xe9fono",mensajeregistro:"Mensaje"}[t]||t}mostrarTipo(){this.authService.obtenerToken().pipe(Y(t=>{if(!t)throw new Error("No se obtuvo un token v\xe1lido.");return this.contactoService.getTipoComentario(t)}),we(t=>{if(401===t.status||403===t.status)return this.authService.limpiarToken(),this.authService.obtenerToken().pipe(Y(r=>{if(!r)throw new Error("No se pudo obtener un token v\xe1lido al reintentar.");return this.contactoService.getTipoComentario(r)}));throw t})).subscribe({next:t=>{this.arrTipoCon.set(t)},error:t=>{console.error("\u274c Error al obtener el cat\xe1logo de tipos de comentario:",t),this.mostrarModalAlerta("Ocurri\xf3 un error al cargar las opciones de contacto. Por favor intente nuevamente.")}})}limpiarFormulario(){this.contactoForm.reset({tiporegistro:""})}soloLetras(t,r){const o=this.contactoForm.get(r);if(!o)return;const i=t.target,s=i.value,a=i.selectionStart,c=s.replace(/[^a-zA-Z\xe1\xe9\xed\xf3\xfa\xc1\xc9\xcd\xd3\xda\xf1\xd1\xc4\xcb\xcf\xd6\xdc\xe4\xeb\xef\xf6\xfc\s]/g,"").toUpperCase();if(s!==c&&(o.setValue(c,{emitEvent:!1}),null!==a)){const u=a-(s.length-c.length);i.setSelectionRange(u,u)}}soloNumeros(t,r){const o=this.contactoForm.get(r);if(!o)return;const i=t.target,s=i.value,a=i.selectionStart,c=s.replace(/[^0-9]/g,"");if(s!==c&&(o.setValue(c,{emitEvent:!1}),null!==a)){const u=a-(s.length-c.length);i.setSelectionRange(u,u)}}soloCorreo(t,r){const o=this.contactoForm.get(r);if(!o)return;const i=t.target,s=i.value,a=i.selectionStart,c=s.replace(/[^a-zA-Z0-9@._-]/g,"").toLowerCase();if(s!==c&&(o.setValue(c,{emitEvent:!1}),null!==a)){const u=a-(s.length-c.length);i.setSelectionRange(u,u)}}convertirAMayusculas(t,r){const o=this.contactoForm.get(r);if(!o)return;const i=t.target,s=i.value,a=i.selectionStart,c=s.toUpperCase();s!==c&&(o.setValue(c,{emitEvent:!1}),null!==a&&i.setSelectionRange(a,a))}static \u0275fac=function(r){return new(r||e)(C(Xe),C(fl),C(Fj),C(Xo),C(Jo))};static \u0275cmp=Ft({type:e,selectors:[["app-contacto"]],decls:45,vars:17,consts:[["id","contacto",1,"text-left"],[1,"red"],[1,"mt-4"],[3,"formGroup","ngSubmit"],[1,"row",2,"text-align","left"],[1,"col-12","col-md-6","mb-3"],["for","tiporegistro"],["id","tiporegistro","formControlName","tiporegistro",1,"form-control"],["value","","disabled","","selected",""],[3,"value",4,"ngFor","ngForOf"],["for","nombreregistro"],["type","text","id","nombreregistro","formControlName","nombreregistro","autocomplete","off","maxlength","100","minlength","2","placeholder","Nombre completo",1,"form-control",3,"input"],["for","paternoregistro"],["type","text","id","paternoregistro","formControlName","paternoregistro","autocomplete","off","maxlength","100","minlength","1","placeholder","Apellido paterno",1,"form-control",3,"input"],["for","maternoregistro"],["type","text","id","maternoregistro","formControlName","maternoregistro","autocomplete","off","maxlength","100","placeholder","Apellido materno",1,"form-control",3,"input"],["for","emailregistro"],["type","text","id","emailregistro","formControlName","emailregistro","autocomplete","off","maxlength","50","placeholder","correo@dominio.com",1,"form-control",3,"input"],["for","telefonoregistro"],["type","text","id","telefonoregistro","formControlName","telefonoregistro","autocomplete","off","maxlength","10","minlength","10","placeholder","Tel\xe9fono a 10 d\xedgitos",1,"form-control",3,"input"],[1,"col-12","col-md-12","mb-3"],["for","mensajeregistro"],["id","mensajeregistro","rows","4","formControlName","mensajeregistro","autocomplete","off","maxlength","1000","minlength","10","placeholder","Escribe aqu\xed tu mensaje...",1,"form-control",3,"input"],[1,"col-12","text-right"],["type","button",1,"btn","btn-danger","enviar","w-100","w-sm-auto","ml","mlm",2,"margin-top","1em","margin-right","8px",3,"click"],["type","submit",1,"btn","btn-primary","enviar","w-100","w-md-auto",2,"margin-top","1em",3,"disabled"],[4,"ngIf"],["class","custom-modal-backdrop",3,"click",4,"ngIf"],[3,"value"],[1,"custom-modal-backdrop",3,"click"],[1,"custom-modal",3,"click"],[1,"custom-modal-header"],[1,"custom-modal-title"],["type","button",1,"custom-close",3,"click"],[1,"custom-modal-body"],[1,"text-dark",2,"line-height","1.5",3,"innerHTML"]],template:function(r,o){1&r&&(h(0,"h2",0),m(1,"Contacto"),p(),N(2,"hr",1),h(3,"div",2)(4,"form",3),S("ngSubmit",function(){return o.registroCont()}),h(5,"div",4)(6,"div",5)(7,"label",6),m(8,"Tipo de Petici\xf3n*:"),p(),h(9,"select",7)(10,"option",8),m(11,"Selecciona una opci\xf3n"),p(),L(12,kj,2,2,"option",9),p()(),h(13,"div",5)(14,"label",10),m(15,"Nombre(s)*:"),p(),h(16,"input",11),S("input",function(s){return o.soloLetras(s,"nombreregistro")}),p()(),h(17,"div",5)(18,"label",12),m(19,"Apellido paterno*:"),p(),h(20,"input",13),S("input",function(s){return o.soloLetras(s,"paternoregistro")}),p()(),h(21,"div",5)(22,"label",14),m(23,"Apellido materno:"),p(),h(24,"input",15),S("input",function(s){return o.soloLetras(s,"maternoregistro")}),p()(),h(25,"div",5)(26,"label",16),m(27,"Correo electr\xf3nico*:"),p(),h(28,"input",17),S("input",function(s){return o.soloCorreo(s,"emailregistro")}),p()(),h(29,"div",5)(30,"label",18),m(31,"Tel\xe9fono*:"),p(),h(32,"input",19),S("input",function(s){return o.soloNumeros(s,"telefonoregistro")}),p()(),h(33,"div",20)(34,"label",21),m(35,"Mensaje*:"),p(),h(36,"textarea",22),S("input",function(s){return o.convertirAMayusculas(s,"mensajeregistro")}),p()()(),h(37,"div",23)(38,"button",24),S("click",function(){return o.limpiarFormulario()}),m(39," Limpiar "),p(),h(40,"button",25),L(41,Lj,2,0,"span",26),L(42,Vj,2,0,"span",26),p()()()(),L(43,jj,9,1,"div",27),L(44,Bj,9,1,"div",27)),2&r&&(D(4),I("formGroup",o.contactoForm),D(8),I("ngForOf",o.arrTipoCon()),D(4),xt("is-invalid",o.contactoForm.get("nombreregistro").invalid&&o.contactoForm.get("nombreregistro").touched),D(4),xt("is-invalid",o.contactoForm.get("paternoregistro").invalid&&o.contactoForm.get("paternoregistro").touched),D(4),xt("is-invalid",o.contactoForm.get("maternoregistro").invalid&&o.contactoForm.get("maternoregistro").touched),D(4),xt("is-invalid",o.contactoForm.get("emailregistro").invalid&&o.contactoForm.get("emailregistro").touched),D(4),xt("is-invalid",o.contactoForm.get("telefonoregistro").invalid&&o.contactoForm.get("telefonoregistro").touched),D(8),I("disabled",o.isSubmitForm()),D(1),I("ngIf",!o.isSubmitForm()),D(1),I("ngIf",o.isSubmitForm()),D(1),I("ngIf",o.isModalOpen()),D(1),I("ngIf",o.mostrarMensaje()))},dependencies:[Dr,wr,Pr,r0,s0,Ar,ul,Ds,Tr,dl,Ps,Or,Zo],styles:["@media (max-width: 767.98px){.enviar[_ngcontent-%COMP%]{display:block;width:97%}}"]})}return e})(),data:{breadcrumb:"Contacto"}},{path:"cedula-profesional/datos-abiertos",component:Rj,data:{breadcrumb:"T\xedtulos Electr\xf3nicos"}},{path:"cedula-profesional/Cedulas-Estatales",component:(()=>{class e{breadcrumb="C\xe9dulas Estatales";datos=[{ImagenUrl:"RNP_Aguascalientes.png",enlace:"https://ieasis.iea.edu.mx/#/tablad/Cedulas?sys=ieasis%7Cpruebas%7C08000050000102"},{ImagenUrl:"RNP_Chihuahua.png",enlace:"https://educacion.chihuahua.gob.mx/cedulas/"},{ImagenUrl:"RNP_Coahuila.png",enlace:"https://web.seducoahuila.gob.mx/profesiones/pidecedula.php"},{ImagenUrl:"rnp_guanajuato.webp",enlace:"https://padrondeprofesionistascolegiados.seg.guanajuato.gob.mx/colegiados.aspx"},{ImagenUrl:"RNP_Hidalgo.png",enlace:"http://profesiones.seph.gob.mx/padronregistroestatal.php"},{ImagenUrl:"RNP_Michoacan.png",enlace:"http://www.edumich.gob.mx/cedulas/index.php/PadronPublicoController/"},{ImagenUrl:"RNP_Queretaro.png",enlace:"https://www.verificadorsedeq.mx/"},{ImagenUrl:"RNP_Sonora.png",enlace:"https://cedulasonora.sec.gob.mx/"}];datosFiltrados=[...this.datos];verificarOrientacion(t,r){const o=t.target;r.esHorizontal=o.naturalWidth>o.naturalHeight}filtrarDatos(t){const o=t.target.value.toLowerCase();this.datosFiltrados=this.datos.filter(i=>i.ImagenUrl.toLowerCase().includes(o.replace("rnp_p1_","").replace(".png","")))}static \u0275fac=function(r){return new(r||e)};static \u0275cmp=Ft({type:e,selectors:[["app-cedulas-estatales"]],decls:7,vars:1,consts:[[1,"mb-3","titulo-cedulas"],[1,"red"],[2,"text-align","left","margin-top","-35px"],[1,"cedulas-grid"],["class","cedula-item",4,"ngFor","ngForOf"],[1,"cedula-item"],["target","_blank","rel","noopener",3,"href"],[1,"cedula-img",3,"src","alt","load"]],template:function(r,o){1&r&&(h(0,"h2",0),m(1,"C\xe9dulas Estatales"),p(),N(2,"hr",1),h(3,"p",2),m(4," Haz clic en las entidades federativas para redireccionarte al portal de consulta de c\xe9dulas profesionales estatales.\n"),p(),h(5,"div",3),L(6,Uj,3,5,"div",4),p()),2&r&&(D(6),I("ngForOf",o.datosFiltrados))},dependencies:[Dr],styles:[".titulo-cedulas[_ngcontent-%COMP%]{text-align:left;margin-top:1em}.cedulas-grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:1.5rem;margin:3em 0 5em}.cedula-item[_ngcontent-%COMP%]{display:flex;justify-content:center}.cedula-img[_ngcontent-%COMP%]{border:1px solid #ddd;border-radius:5px;padding:10px;max-width:100%;height:auto;object-fit:contain;transition:transform .2s ease}.cedula-img[_ngcontent-%COMP%]:hover{transform:scale(1.03)}@media (max-width: 767.98px){.titulo-cedulas[_ngcontent-%COMP%]{font-size:1.5em;text-align:center!important}.cedula-img[_ngcontent-%COMP%]{max-width:100%;max-height:220px}.horizontal-mobile[_ngcontent-%COMP%]{max-width:70%;max-height:160px}}"]})}return e})(),data:{breadcrumb:"C\xe9dulas Estatales"}},{path:"cedula-profesional/constancias-emitidas",component:(()=>{class e{analytics;datosService;authService;cdRef;reCaptcha;datos=[];datosFiltrados=[];mostrarAlerta=!1;mensajeAlerta="";scrollY=0;descargando=!1;mostrandoModalDescarga=!1;constructor(t,r,o,i,s){this.analytics=t,this.datosService=r,this.authService=o,this.cdRef=i,this.reCaptcha=s}ngOnInit(){this.authService.obtenerToken().pipe(Y(t=>{if(!t)throw new Error("No se obtuvo un token v\xe1lido para obtener las constancias.");return this.datosService.getConstanciasEmitidas(t)}),we(t=>401===t.status||403===t.status?(this.authService.limpiarToken(),this.authService.obtenerToken().pipe(Y(r=>{if(!r)throw new Error("No se pudo obtener un token v\xe1lido al reintentar.");return this.datosService.getConstanciasEmitidas(r)}))):_t(()=>t))).subscribe({next:t=>{this.datos=t,this.datosFiltrados=[...t]},error:t=>{console.error("Error al obtener constancias emitidas",t)}})}scrollAlBuscar(){setTimeout(()=>{document.getElementById("buscar")?.scrollIntoView({behavior:"smooth",block:"center"})},300)}filtrarDatos(t){const o=t.target.value;this.datosFiltrados=this.datos.filter(i=>i.descPublicacion.toLowerCase().includes(o.toLowerCase()))}ngOnChanges(){this.mostrarAlerta?document.body.classList.add("modal-open"):document.body.classList.remove("modal-open")}mostrarModalAlerta(t){this.scrollY=window.scrollY||window.pageYOffset,this.mensajeAlerta=t,this.mostrarAlerta=!0,document.body.style.position="fixed",document.body.style.top=`-${this.scrollY}px`,document.body.style.left="0",document.body.style.right="0",document.body.style.width="100%",this.cdRef.detectChanges()}cerrarModal(){this.mostrarAlerta=!1,document.body.style.position="",document.body.style.top="",document.body.style.left="",document.body.style.right="",document.body.style.width="",window.scrollTo(0,this.scrollY)}LIMITE_DESCARGAS=3;BLOQUEO_HORAS=24;archivoBloqueado(t){const r=localStorage.getItem(`descargas_${t}`);if(!r)return!1;const o=JSON.parse(r);return Date.now()-o.inicio>60*this.BLOQUEO_HORAS*60*1e3?(localStorage.removeItem(`descargas_${t}`),!1):o.contador>=this.LIMITE_DESCARGAS}registrarDescarga(t){const r=`descargas_${t}`,o=Date.now();let i={contador:0,inicio:o};const s=localStorage.getItem(r);s&&(i=JSON.parse(s),o-i.inicio>60*this.BLOQUEO_HORAS*60*1e3&&(i={contador:0,inicio:o})),i.contador++,localStorage.setItem(r,JSON.stringify(i))}descargarArchivo(t,r,o){this.archivoBloqueado(r)?this.mostrarModalAlerta(`Ya ha descargado m\xe1s de ${this.LIMITE_DESCARGAS} veces este archivo. Espera ${this.BLOQUEO_HORAS} horas para volver a descargarlo.`):(this.descargando=!0,this.mostrandoModalDescarga=!0,this.reCaptcha.execute("descargar").then(i=>{this.authService.obtenerToken().pipe(Y(s=>{if(!s)throw new Error("No se obtuvo un token v\xe1lido para realizar la descarga.");return this.datosService.getGenerarDescarga(r,s,i)}),we(s=>401===s.status||403===s.status?(this.authService.limpiarToken(),this.authService.obtenerToken().pipe(Y(a=>{if(!a)throw new Error("No se pudo obtener un token v\xe1lido al reintentar.");return this.datosService.getGenerarDescarga(r,a,i)}))):404===s.status?(this.mostrarModalAlerta("Archivo no encontrado."),F(null)):(this.mostrarModalAlerta("Error al descargar archivo. Intente nuevamente."),F(null)))).subscribe(s=>{if(this.descargando=!1,this.mostrandoModalDescarga=!1,!s)return;this.registrarDescarga(r),this.analytics.enviarEvento("descarga_constancia",{idPublicacion:t,nombre_archivo:r,tipo_archivo:o,fecha:(new Date).toISOString(),debug_mode:!0});const a=window.URL.createObjectURL(s),c=document.createElement("a");c.href=a,c.download=r,c.click(),window.URL.revokeObjectURL(a),this.analytics.enviarEvento("descarga_Titulo_Electronico",{nombre_archivo:r,tipo_archivo:o,extension:this.obtenerExtension(r)})})}).catch(i=>{console.error("\u274c Error al ejecutar reCAPTCHA:",i),this.descargando=!1,this.mostrandoModalDescarga=!1,this.mostrarModalAlerta("Error al validar reCAPTCHA. Intente nuevamente.")}))}obtenerExtension(t){return t.split(".").pop()||"desconocido"}static \u0275fac=function(r){return new(r||e)(C(Ns),C(V0),C(Xo),C(Pn),C(Jo))};static \u0275cmp=Ft({type:e,selectors:[["app-constancias-emitidas"]],features:[ot],decls:48,vars:6,consts:[[1,"mb-3",2,"text-align","left"],[1,"red"],[1,"container","mt-4",2,"border","1px solid #e0e0e0","padding","2em","border-radius","10px","max-width","90vw","width","1150px"],[1,"mb-4","p-3",2,"display","flex","align-items","center"],[1,"input-group",2,"width","100%","text-align","left"],["for","buscar",1,"me-2"],["id","buscar","type","text","placeholder","Ingresa palabras clave...",1,"form-control",3,"input","focus"],[1,"table-responsive","d-none","d-md-block"],[1,"table","table-striped"],[4,"ngFor","ngForOf"],[4,"ngIf"],[1,"d-block","d-md-none","tarjetas"],["class","card mb-3 shadow-sm",4,"ngFor","ngForOf"],["class","text-center text-muted mt-3",4,"ngIf"],["class","custom-modal-backdrop",3,"click",4,"ngIf"],["class","custom-modal-backdrop",4,"ngIf"],[1,"btn","btn-primary","btn-block","mt-2",3,"click"],["aria-hidden","true",1,"glyphicon","glyphicon-download-alt"],["colspan","2",1,"text-center","text-muted"],[1,"card","mb-3","shadow-sm"],[1,"card-body"],[1,"card-title"],[1,"text-center","text-muted","mt-3"],[1,"custom-modal-backdrop",3,"click"],[1,"custom-modal",3,"click"],[1,"custom-modal-header"],[1,"custom-modal-title"],[1,"custom-close",3,"click"],[1,"custom-modal-body"],[2,"font-size","16px",3,"innerHTML"],[1,"custom-modal-backdrop"],[1,"custom-modal-dialog",2,"background-color","white","padding","20px","border-radius","10px"],[1,"custom-modal-content","text-center","p-4"],["role","status",1,"spinner-border","text-success","mb-3",2,"width","3rem","height","3rem"],[1,"progress","mt-3",2,"height","8px"],["role","progressbar",1,"progress-bar","progress-bar-striped","progress-bar-animated","bg-success",2,"width","100%"]],template:function(r,o){1&r&&(h(0,"h2",0),m(1,"Publicaci\xf3n de Constancias de Autorizaci\xf3n Provisional y de No Sanci\xf3n"),p(),N(2,"hr",1),h(3,"p"),m(4," La informaci\xf3n publicada corresponde a las "),h(5,"b"),m(6,"Autorizaciones Provisionales"),p(),m(7," emitidas a partir de 2024*, dirigidas a pasantes y profesionistas con t\xedtulo en tr\xe1mite, as\xed como a las "),h(8,"b"),m(9,"Constancias de No Sanci\xf3n"),p(),m(10," emitidas en el mismo periodo.\n"),N(11,"br")(12,"br"),m(13,"\nEstos datos se difunden cumpliendo con la "),h(14,"b"),m(15,"Ley de Protecci\xf3n de Datos Personales"),p(),m(16,", garantizando su confidencialidad, integridad y resguardo. "),N(17,"br")(18,"br"),m(19,"\nEsta publicaci\xf3n se respalda en los art\xedculos 23 (fracciones IV y XV) y 30 de la Ley Reglamentaria del Art\xedculo 5\xba Constitucional, as\xed como en el art\xedculo 40 (fracci\xf3n IV) del Reglamento Interior de la SEP.\n"),N(20,"br")(21,"br"),m(22,"\n*Frecuencia de publicaci\xf3n: La informaci\xf3n se "),h(23,"b"),m(24,"actualiza y publica cada mes"),p(),m(25,", mostrando los datos del mes anterior. "),p(),h(26,"div",2)(27,"form",3)(28,"div",4)(29,"label",5),m(30,"Buscar:"),p(),h(31,"input",6),S("input",function(s){return o.filtrarDatos(s)})("focus",function(){return o.scrollAlBuscar()}),p()()(),h(32,"div",7)(33,"table",8)(34,"thead")(35,"tr")(36,"th"),m(37,"Descripci\xf3n"),p(),h(38,"th"),m(39,"Acciones"),p()()(),h(40,"tbody"),L(41,zj,7,1,"tr",9),L(42,Gj,3,0,"tr",10),p()()(),h(43,"div",11),L(44,qj,7,1,"div",12),L(45,Wj,2,0,"div",13),p()(),L(46,Zj,9,1,"div",14),L(47,Yj,8,0,"div",15)),2&r&&(D(41),I("ngForOf",o.datosFiltrados),D(1),I("ngIf",0===o.datosFiltrados.length),D(2),I("ngForOf",o.datosFiltrados),D(1),I("ngIf",0===o.datosFiltrados.length),D(1),I("ngIf",o.mostrarAlerta),D(1),I("ngIf",o.mostrandoModalDescarga))},dependencies:[Dr,wr,Pr,Tr,Ts],styles:[".container[_ngcontent-%COMP%]{max-width:1200px;margin:auto}table[_ngcontent-%COMP%]{width:100%;margin-top:20px}th[_ngcontent-%COMP%]{background-color:#f8f9fa;color:#495057;text-align:left;font-weight:600}hr.red[_ngcontent-%COMP%]{margin:20px 0}p[_ngcontent-%COMP%]{font-size:16px}td[_ngcontent-%COMP%]{text-align:left}button[_ngcontent-%COMP%]{margin-right:10px}button[_ngcontent-%COMP%]:hover{opacity:.9}.tarjetas[_ngcontent-%COMP%]{display:none}.table-responsive[_ngcontent-%COMP%]{max-height:500px;overflow-y:auto}p[_ngcontent-%COMP%]{text-align:justify;margin-bottom:4em}@media (max-width: 768px){p[_ngcontent-%COMP%]{width:100%;font-size:14px}}@media (max-width: 767.98px){h2[_ngcontent-%COMP%]{font-size:1.5em;text-align:center!important}.table-responsive[_ngcontent-%COMP%]{display:none}.tarjetas[_ngcontent-%COMP%]{display:block;margin-top:20px}.card[_ngcontent-%COMP%]{border:1px solid #e0e0e0;border-radius:10px;margin:10px 0}.card-body[_ngcontent-%COMP%]{padding:1.2em}.card-title[_ngcontent-%COMP%]{font-size:.95em;font-weight:700;color:#333;margin-bottom:.5em}.btn-block[_ngcontent-%COMP%]{width:100%;font-size:.85em;padding:6px 8px}}"]})}return e})(),data:{breadcrumb:"Autorizaciones Provisionales"}},{path:"cedula-profesional/validar-folio",component:(()=>{class e{route;cedulaService;fb;analytics;authService;cdRef;reCaptcha;folio="";datos=null;errorMsg="";cargando=!1;mostrarAlerta=!1;formDisable=!0;FormSearch;constructor(t,r,o,i,s,a,c){this.route=t,this.cedulaService=r,this.fb=o,this.analytics=i,this.authService=s,this.cdRef=a,this.reCaptcha=c}ngOnInit(){this.FormSearch=this.fb.group({folio:["",[q.required,q.pattern(/^\d{9}$/)]]});const t=this.FormSearch.get("folio");t?.valueChanges.subscribe(r=>{const o=(r??"").toString(),i=o.replace(/\D/g,"");if(0===i.length||/^0+$/.test(i))return void(""!==o&&t.setValue("",{emitEvent:!1}));const c=i.replace(/^0+/,"").slice(-9).padStart(9,"0");o!==c&&t.setValue(c,{emitEvent:!1})}),this.route.queryParams.subscribe(r=>{this.folio=r.folio||r.id||"",this.folio&&(this.FormSearch.patchValue({folio:this.folio}),this.buscarPorFolio())})}formatFolio(t){return t?t.toString().slice(-9).padStart(9,"0"):""}ngOnChanges(){this.mostrarAlerta?document.body.classList.add("modal-open"):document.body.classList.remove("modal-open")}scrollY=0;mostrarModalAlerta(t){this.scrollY=window.scrollY,document.body.classList.add("modal-open"),document.body.style.top=`-${this.scrollY}px`,this.errorMsg=t,this.mostrarAlerta=!0,this.cdRef.detectChanges()}cerrarModal(){this.mostrarAlerta=!1,document.body.classList.remove("modal-open"),document.body.style.top="",window.scrollTo(0,this.scrollY)}buscarPorFolio(){this.errorMsg="",this.mostrarAlerta=!1,this.cargando=!0;const t=this.FormSearch.get("folio")?.value?.trim();if(!t||!/^[0-9]+$/.test(t))return this.errorMsg="El folio no es v\xe1lido. Solo se permiten n\xfameros.",this.datos=null,this.mostrarAlerta=!0,void(this.cargando=!1);this.analytics.enviarEvento("buscar_folio",{metodo:"folio",folio:t,fecha:(new Date).toISOString(),debug_mode:!0}),Promise.resolve(this.reCaptcha.execute("buscar_folio")).then(r=>{const o=localStorage.getItem("authToken");(o?F(o):this.authService.obtenerToken().pipe(We(s=>localStorage.setItem("authToken",s)))).pipe(Y(s=>{if(!s)throw new Error("No se obtuvo un token v\xe1lido para realizar la b\xfasqueda.");return this.cedulaService.validarConstanciaByFolio(t,s,r)}),we(s=>401===s.status||403===s.status?(localStorage.removeItem("authToken"),this.authService.refrescarToken().pipe(Y(a=>this.cedulaService.validarConstanciaByFolio(t,a,r)))):(this.errorMsg="Error al realizar la b\xfasqueda. Intente nuevamente.",this.cargando=!1,F(null)))).subscribe({next:s=>{if(this.cargando=!1,!s||Array.isArray(s)&&0===s.length){const a=this.formatearFecha(new Date);this.errorMsg=`No se encontr\xf3 informaci\xf3n para el folio ${t}.

Fecha de consulta: ${a}`,this.mostrarAlerta=!0,this.datos=null}else this.datos=Array.isArray(s)?s[0]:s},error:s=>{console.error("\u274c Error cr\xedtico al consultar por folio:",s),this.cargando=!1,this.errorMsg="Error inesperado al consultar el servicio.",this.datos=null,this.mostrarAlerta=!0}})}).catch(r=>{console.error("\u274c Error al ejecutar reCAPTCHA:",r),this.errorMsg="Error al validar reCAPTCHA. Intente nuevamente.",this.cargando=!1,this.datos=null,this.mostrarAlerta=!0})}formatearFecha(t){return`${String(t.getDate()).padStart(2,"0")}/${String(t.getMonth()+1).padStart(2,"0")}/${t.getFullYear()}`}limpiar(){this.FormSearch.reset(),this.datos=null,this.errorMsg=""}soloNumeros(t){const r=t.key,o=t.ctrlKey||t.metaKey;["Backspace","Delete","ArrowLeft","ArrowRight","Tab","Home","End"].includes(r)||o&&["v","c","x","a"].includes(r.toLowerCase())||/^[0-9]$/.test(r)||t.preventDefault()}validarPegadoNumerico(t){const r=t.clipboardData?.getData("text")||"";/^\d+$/.test(r)||t.preventDefault()}obtenerEstatus(){if(!this.datos?.fechaRegistro)return null;const t=new Date(this.datos.fechaRegistro),r=String(t.getDate()).padStart(2,"0"),o=String(t.getMonth()+1).padStart(2,"0"),i=t.getFullYear();this.datos.fechaRegistroFormateada=`${r}/${o}/${i}`;const s=new Date,a=new Date;return a.setDate(s.getDate()-30),t{class e{fb;cedulaService;authService;route;analytics;router;cdRef;recaptcha;cedulas=[];selectedCedula="";cargando=!1;cedulaForm;advancedSearchForm;isBuscarDisabled=!1;formDisable=!0;resultadosCedula=[];formError="";noDataError="";mensajeAlerta="";mostrarAlerta=!1;isModalVisible=!1;selectedRegistro;generandoConstancia=!1;itemsPerPage=10;totalPages=0;pages=[];currentPage=1;paginatedResultadosCedula=[];maxVisiblePages=5;page=1;activado=!0;selectedTab=1;advancedSearchEnabled=!1;modalGenerandoPdf;resultsContainer;todasLasCedulasPorCurp=[];currentYear=(new Date).getFullYear();errorCedula;datosModal;MAX_DOWNLOADS=3;DOWNLOAD_LIMIT_HOURS=360;DOWNLOAD_CACHE_PREFIX="downloadLimit_";constructor(t,r,o,i,s,a,c,l){this.fb=t,this.cedulaService=r,this.authService=o,this.route=i,this.analytics=s,this.router=a,this.cdRef=c,this.recaptcha=l}ngOnInit(){this.selectedTab=2,this.advancedSearchEnabled=!0,this.cedulaForm=this.fb.group({cedula:["",[q.required,q.pattern(/^\d{7,8}$/)]],tipo:["c1"],entidadFederativa:[""]}),this.route.queryParams.subscribe(o=>{const i=o.idCedula,s=o.cedula;i&&!s?this.router.navigate([],{queryParams:{cedula:i},queryParamsHandling:"merge",replaceUrl:!0}):s&&(this.selectTab(1),setTimeout(()=>{this.cedulaForm.patchValue({cedula:s}),this.onBuscar(s)},300))});const t=/^[a-zA-Z\xe1\xe9\xed\xf3\xfa\xc1\xc9\xcd\xd3\xda\xf1\xd1\s]+$/;this.advancedSearchForm=this.fb.group({nombre:["",[q.minLength(3),q.maxLength(50),q.pattern(t)]],primerApellido:["",[q.minLength(3),q.maxLength(50),q.pattern(t)]],segundoApellido:["",[q.maxLength(50),q.pattern(t)]],curp:["",[q.maxLength(18),q.pattern(/^[A-Z]{4}\d{6}[HM]{1}[A-Z]{2}[B-DF-HJ-NP-TV-Z]{3}[0-9A-Z]\d$/)]]},{validators:this.advancedSearchValidator})}advancedSearchValidator=t=>{const r=t.get("nombre"),o=t.get("primerApellido"),i=t.get("curp"),s=i?.value?.trim(),a=r?.value?.trim(),c=o?.value?.trim();return s&&i.valid||a&&c&&r.valid&&o.valid?null:{searchFieldsRequired:!0}};showModal(t){this.selectedRegistro=t,this.isModalVisible=!0}ngAfterViewInit(){this.route.queryParams.subscribe(t=>{const r=t.idCedula,o=t.cedula;r&&!o?this.router.navigate([],{queryParams:{cedula:r},queryParamsHandling:"merge",replaceUrl:!0}):o&&setTimeout(()=>{this.selectTab(1),this.cedulaForm&&(this.cedulaForm.patchValue({cedula:o}),this.onBuscar(o))},0)})}selectTab(t){this.selectedTab=t,1===t&&this.cedulaForm&&this.cedulaForm.reset(),this.updateFormValidations(),this.advancedSearchEnabled=2===t,this.advancedSearchEnabled?(this.cedulaForm.reset(),this.onLimpiar(),this.updateFormValidations()):this.cedulaForm.patchValue({cedula:""}),this.advancedSearchEnabled||(this.advancedSearchForm.reset(),this.onLimpiar(),this.updateFormValidations()),this.updateFormValidations()}updateFormValidations(){1===this.selectedTab?this.cedulaForm.get("cedula")?.setValidators([q.required,q.pattern(/^\d{7,8}$/)]):2===this.selectedTab&&this.cedulaForm.get("cedula")?.clearValidators(),this.cedulaForm.get("cedula")?.updateValueAndValidity()}onBuscarSettings(){if(this.updateFormValidations(),1===this.selectedTab){if(this.cedulaForm.invalid)return void this.cedulaForm.markAllAsTouched();this.onBuscar(this.cedulaForm.value.cedula)}else if(2===this.selectedTab){if(this.advancedSearchForm.markAllAsTouched(),this.advancedSearchForm.invalid)return void this.mostrarModalAlerta("Para realizar la b\xfasqueda, debe ingresar un Nombre y Primer Apellido (cada uno con al menos 3 caracteres).");this.onBuscarAvanzada()}}onBuscar(t){if(this.formError="",this.noDataError="",this.errorCedula="",this.mensajeAlerta="",this.mostrarAlerta=!1,this.cargando=!0,this.analytics.enviarEvento("buscar_cedula_especial",{method:"por_cedula_especial",cedula:t,fecha:(new Date).toISOString(),debug_mode:!0}),!t||!/^[a-zA-Z0-9]+$/.test(t))return this.errorCedula="El n\xfamero de c\xe9dula no es v\xe1lido. No se permiten caracteres especiales.",this.mostrarError("Error en la b\xfasqueda: "+this.errorCedula),this.resultadosCedula=[],void(this.cargando=!1);Promise.resolve(this.recaptcha.execute("submit")).then(r=>{this.authService.obtenerToken().pipe(Y(o=>{if(!o)throw new Error("AUTH_TOKEN_ERROR");return this.cedulaService.getEspecialistasCirugiaPlasticaCedula(t,r,o)}),we(o=>401===o.status||403===o.status?(this.authService.limpiarToken(),this.authService.obtenerToken().pipe(Y(i=>{if(!i)throw new Error("RETRY_AUTH_TOKEN_ERROR");return this.cedulaService.getEspecialistasCirugiaPlasticaCedula(t,r,i)}))):_t(()=>o))).subscribe({next:o=>this.procesarResultados(t,o),error:o=>this.manejarErrorBusqueda(t,o)})}).catch(r=>{console.error("\u274c Error al ejecutar reCAPTCHA:",r),this.formError="Error al validar reCAPTCHA. Intente nuevamente.",this.cargando=!1})}procesarResultados(t,r){if(!r||Array.isArray(r)&&0===r.length){const o=this.formatearFecha(new Date);this.mensajeAlerta=`No se encontr\xf3 informaci\xf3n para la c\xe9dula ${t}.
Fecha: ${o}`,this.mostrarAlerta=!0,this.resultadosCedula=[],this.pages=[]}else{const o=Array.isArray(r)?r:[r];this.todasLasCedulasPorCurp=o,this.resultadosCedula=o.filter(i=>i.cedula===t),this.totalPages=Math.ceil(this.resultadosCedula.length/this.itemsPerPage),this.pages=Array.from({length:this.totalPages},(i,s)=>s+1),this.currentPage=1,this.paginateResults()}this.cargando=!1,this.scrollToResults()}manejarErrorBusqueda(t,r){if("no_data"===r.tipo){const o=this.formatearFecha(new Date);this.mensajeAlerta=`No se encontr\xf3 informaci\xf3n para la c\xe9dula ${t}.
Fecha: ${o}`,this.mostrarAlerta=!0,this.resultadosCedula=[],this.pages=[]}else this.formError="Error inesperado al realizar la b\xfasqueda.";this.cargando=!1,this.scrollToResults()}formatearFecha(t){return`${String(t.getDate()).padStart(2,"0")}/${String(t.getMonth()+1).padStart(2,"0")}/${t.getFullYear()}`}scrollToResults(){window.innerWidth<768&&setTimeout(()=>{this.resultsContainer?.nativeElement&&this.resultsContainer.nativeElement.scrollIntoView({behavior:"smooth",block:"start"})},100)}getCampoAmigable(t){return{nombres:"Nombres",primerApellido:"Primer Apellido",segundoApellido:"Segundo Apellido",cedula:"C\xe9dula",tipoCedula:"Tipo de C\xe9dula"}[t]||t}capitalizeFirstLetter(t){return t?t.charAt(0).toUpperCase()+t.slice(1).toLowerCase():""}onBuscarAvanzada(){this.formError="",this.noDataError="";const t=this.advancedSearchForm.value,r={};for(const o in t)null!==t[o]&&""!==t[o]&&(r[o]=t[o]);this.analytics.enviarEvento("buscar_cedula_especial",{metodo:"avanzada_especial",campos:JSON.stringify(r),fecha:(new Date).toISOString(),debug_mode:!0}),this.cargando=!0,Promise.resolve(this.recaptcha.execute("submit")).then(o=>{Object.keys(this.advancedSearchForm.controls).forEach(a=>{const c=this.advancedSearchForm.get(a)?.value;c&&"string"==typeof c&&this.advancedSearchForm.get(a)?.setValue(c.trim().toUpperCase())});const i=this.advancedSearchForm.value,s={};for(const a in i)null!==i[a]&&""!==i[a]&&(s[a]=i[a]);this.authService.obtenerToken().pipe(Y(a=>{if(!a)throw new Error("AUTH_TOKEN_ERROR");return this.cedulaService.getEspecialistasCirugiaPlastica(s,a,o)}),we(a=>401===a.status||403===a.status?(this.authService.limpiarToken(),this.authService.obtenerToken().pipe(Y(c=>{if(!c)throw new Error("RETRY_AUTH_TOKEN_ERROR");return this.cedulaService.getEspecialistasCirugiaPlastica(s,c,o)}))):(this.formError="Error al realizar la b\xfasqueda avanzada.",this.cargando=!1,F(null)))).subscribe(a=>{if(!a)return this.cargando=!1,void this.scrollToResults();if(Array.isArray(a)&&a.length>0)this.resultadosCedula=a,this.totalPages=Math.ceil(a.length/this.itemsPerPage),this.pages=this.calculateVisiblePages(this.currentPage,this.totalPages),this.currentPage=1,this.paginateResults();else{const c=this.formatearFecha(new Date),l=Object.entries(s).map(([u,d])=>`${this.capitalizeFirstLetter(this.getCampoAmigable(u))}: ${this.obtenerValorAmigable(u,d)}`).join("
");this.mensajeAlerta=`No se encontr\xf3 informaci\xf3n para los criterios de b\xfasqueda especificados:

${l}

Fecha de consulta: ${c}`,this.mostrarAlerta=!0,this.resultadosCedula=[],this.pages=[]}this.cargando=!1,this.scrollToResults()})}).catch(o=>{console.error("\u274c Error al ejecutar reCAPTCHA:",o),this.formError="Error al validar reCAPTCHA. Intente nuevamente.",this.cargando=!1})}generarAnexoPDF(t){const r=t.curp;!r||r.length<10?this.mostrarError('El registro de su c\xe9dula profesional no cuenta con una CURP vinculada, \n por lo que no es posible generar la constancia de situaci\xf3n profesional en este momento.
\n Es necesario que realice la vinculaci\xf3n de su CURP ante la Direcci\xf3n General de Profesiones. \n

\n \u{1f449} Puede hacerlo en el siguiente enlace: \n \n Vinculaci\xf3n de CURP SEP\n .'):(this.generandoConstancia=!0,Te(Promise.resolve(this.recaptcha.execute("generar_constancia"))).pipe(Y(i=>this.authService.obtenerToken().pipe(Y(s=>{if(!s)throw new Error("No se pudo obtener token de autenticaci\xf3n.");return this.cedulaService.getConstanciaPorCurp(r,s,i)}),we(s=>401===s.status||403===s.status?(this.authService.limpiarToken(),this.authService.obtenerToken().pipe(Y(a=>{if(!a)throw new Error("No se pudo renovar el token.");return this.cedulaService.getConstanciaPorCurp(r,a,i)}))):_t(()=>s)))),we(i=>(this.mostrarError("No fue posible generar la constancia en este momento. Intenta de nuevo m\xe1s tarde."),this.generandoConstancia=!1,F(null)))).subscribe(i=>{if(this.generandoConstancia=!1,!i||!i.body)return;const s=i.body;if("application/pdf"!==s.type){const d=new FileReader;return d.onload=()=>{this.mostrarError("La respuesta del servidor no es un PDF v\xe1lido.")},void d.readAsText(s)}this.analytics.enviarEvento("generar_anexo_pdf",{curp:r,fecha:(new Date).toISOString(),debug_mode:!0});const a=i.headers.get("content-disposition");let c="Constancia.pdf";if(a){const d=/filename[^;=\n]*=((['"]).*?\2|[^;\n]*)/.exec(a);null!=d&&d[1]&&(c=d[1].replace(/['"]/g,""))}const l=window.URL.createObjectURL(s),u=document.createElement("a");u.href=l,u.download=c,u.click(),window.URL.revokeObjectURL(l)}))}obtenerValorAmigable(t,r){if("genero"===t){if("1"===r)return"Masculino";if("2"===r)return"Femenino"}return r}paginateResults(){const t=(this.currentPage-1)*this.itemsPerPage;this.paginatedResultadosCedula=this.resultadosCedula.slice(t,t+this.itemsPerPage)}pageChange(t){this.currentPage=t,this.pages=this.calculateVisiblePages(this.currentPage,this.totalPages),this.paginateResults()}previousPage(){this.currentPage>1&&(this.currentPage--,this.pages=this.calculateVisiblePages(this.currentPage,this.totalPages),this.paginateResults())}nextPage(){this.currentPager&&(i=Math.max(1,r-this.maxVisiblePages+1)),Array.from({length:s-i+1},(a,c)=>i+c)}scrollY=0;mostrarError(t){this.scrollY=window.scrollY,document.body.classList.add("modal-open"),this.mensajeAlerta=t,this.mostrarAlerta=!0,this.cdRef.detectChanges()}cerrarModal(){this.mostrarAlerta=!1,document.body.classList.remove("modal-open"),document.body.style.top=""}onLimpiar(){this.cedulaForm.reset(),this.advancedSearchForm.reset(),this.resultadosCedula=[],this.formError="",this.noDataError="",this.errorCedula="",this.isBuscarDisabled=!1,this.updateFormValidations()}mostrarModalAlerta(t){this.mensajeAlerta=t,this.mostrarAlerta=!0,setTimeout(()=>{this.mostrarAlerta=!1,this.mensajeAlerta=""},15e3)}filtrarLetras(t,r){const o=this.advancedSearchForm.get(r);if(!o)return;const i=t.target,s=i.value,a=i.selectionStart,c=s.replace(/[^a-zA-Z\xe1\xe9\xed\xf3\xfa\xc1\xc9\xcd\xd3\xda\xf1\xd1\s]/g,"").toUpperCase();if(s!==c&&(o.setValue(c,{emitEvent:!1}),null!==a)){const u=a-(s.length-c.length);i.setSelectionRange(u,u)}}filtrarNumeros(t,r){const o=this.cedulaForm.get(r);if(!o)return;const i=t.target,s=i.value,a=i.selectionStart,c=s.replace(/[^0-9]/g,"");if(s!==c&&(o.setValue(c,{emitEvent:!1}),null!==a)){const u=a-(s.length-c.length);i.setSelectionRange(u,u)}}filtrarCURP(t,r){const o=this.advancedSearchForm.get(r);if(!o)return;const i=t.target,s=i.value,a=i.selectionStart,c=s.replace(/[^a-zA-Z0-9]/g,"").toUpperCase();if(s!==c&&(o.setValue(c,{emitEvent:!1}),null!==a)){const u=a-(s.length-c.length);i.setSelectionRange(u,u)}}static \u0275fac=function(r){return new(r||e)(C(fl),C(vl),C(Xo),C(Kt),C(Ns),C(Xe),C(Pn),C(Jo))};static \u0275cmp=Ft({type:e,selectors:[["app-certificaciones"]],viewQuery:function(r,o){if(1&r&&(Ji(o3,5),Ji(i3,5)),2&r){let i;To(i=xo())&&(o.modalGenerandoPdf=i.first),To(i=xo())&&(o.resultsContainer=i.first)}},decls:81,vars:28,consts:[[1,"verificacion-profesional"],[1,"verificacion-title"],[1,"red"],[1,"verificacion-text"],[1,"requisitos-lista"],["href","https://conacem.org.mx/","target","_blank","rel","noopener noreferrer"],[1,"container-cedula"],[1,"form-container"],[1,"nav","nav-tabs"],[3,"ngClass"],["data-toggle","tab","href","#tab-04",3,"click"],["data-toggle","tab","href","#tab-01",3,"click"],[1,"tab-content","mt-3"],["id","tab-01",1,"tab-pane",3,"ngClass"],[2,"text-align","left",3,"formGroup"],[1,"row","mb-3"],[1,"col-md-6","col-lg-3"],["id","cedula","type","text","autocomplete","off","formControlName","cedula","placeholder","C\xe9dula","maxlength","8",1,"form-control",3,"input"],[1,"error-message","text-danger"],[4,"ngIf"],["id","tab-04",1,"tab-pane",3,"ngClass"],[1,"rowForm","mb-3"],["for","nombre"],["id","nombre","type","text","autocomplete","off","maxlength","50","formControlName","nombre","placeholder","Nombre(s)",1,"form-control",3,"disabled","input"],["class","error-message text-danger",4,"ngIf"],["for","primerApellido"],["id","primerApellido","type","text","autocomplete","off","maxlength","50","formControlName","primerApellido","placeholder","Primer Apellido",1,"form-control",3,"input"],["for","segundoApellido"],["id","segundoApellido","type","text","autocomplete","off","appUppercase","","maxlength","50","formControlName","segundoApellido","placeholder","Segundo Apellido",1,"form-control",3,"input"],["role","group",1,"btn-group"],["type","button",1,"btn","btn-primary","w-100","w-sm-auto","ml","mlm",3,"disabled","click"],[1,"d-none","d-md-inline"],["type","button",1,"btn","btn-danger","w-100","w-sm-auto","ml","mlm",3,"disabled","click"],["href","https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css","rel","stylesheet"],["class","spinner-container",4,"ngIf"],[1,"table-responsive"],["style","font-weight: bold; margin-top: 1em;",4,"ngIf"],["class","table table-striped",4,"ngIf"],["class","d-flex justify-content-center mt-3",4,"ngIf"],["class","custom-modal-backdrop",4,"ngIf"],["class","custom-modal-backdrop",3,"click",4,"ngIf"],[1,"spinner-container"],[1,"spinner"],[2,"font-weight","bold","margin-top","1em"],[1,"table","table-striped"],[1,"p-1"],[2,"text-align","left !important"],[4,"ngFor","ngForOf"],[1,"flex-row","gap-1",2,"display","flex"],["title","Descargar Constancia",1,"btn","btn-sm",2,"background-color","transparent","font-size","1.4em","color","rgb(94, 93, 93)","padding","5px 0px",3,"click"],["data-toggle","tooltip","data-placement","top","title","Descargar Constancia",1,"bi","bi-file-earmark-pdf"],[1,"d-flex","justify-content-center","mt-3"],[1,"pagination"],[1,"page-item"],["aria-label","Previous",1,"page-link",3,"click"],["class","page-item",3,"active",4,"ngFor","ngForOf"],["aria-label","Next",1,"page-link",3,"click"],[1,"page-link",3,"click"],[1,"custom-modal-backdrop"],[1,"custom-modal-dialog",2,"background-color","white","padding","20px","border-radius","10px"],[1,"custom-modal-content","text-center","p-4"],["role","status",1,"spinner-border","text-success","mb-3",2,"width","3rem","height","3rem"],[1,"progress","mt-3",2,"height","8px"],["role","progressbar",1,"progress-bar","progress-bar-striped","progress-bar-animated","bg-success",2,"width","100%"],[1,"custom-modal-backdrop",3,"click"],[1,"custom-modal",3,"click"],[1,"custom-modal-header"],[1,"custom-modal-title"],["type","button",1,"custom-close",3,"click"],[1,"custom-modal-body"],[1,"text-dark",2,"line-height","1.5",3,"innerHTML"]],template:function(r,o){if(1&r&&(h(0,"div",0)(1,"h4",1),m(2,"VERIFICA QUE LA PERSONA PROFESIONISTA ESPECIALISTA EN CIRUG\xcdA PL\xc1STICA, EST\xc9TICA Y RECONSTRUCTIVA CUENTE CON C\xc9DULA PROFESIONAL VIGENTE"),p(),N(3,"hr",2),h(4,"p",3),m(5," Para tu seguridad y confianza, antes de someterte a cualquier procedimiento de cirug\xeda pl\xe1stica, est\xe9tica o reconstructiva, verifica que tu m\xe9dico cuente con las acreditaciones necesarias y correspondientes. "),p(),h(6,"p",3),m(7," La Direcci\xf3n General de Profesiones recomienda confirmar que el profesionista posea todos los documentos que lo avalan como especialista. Esto garantiza que el procedimiento se realice bajo los m\xe1s altos est\xe1ndares de \xe9tica, calidad y seguridad para el paciente, reduciendo riesgos para tu salud. "),p(),h(8,"p",3),m(9," Pide a tu cirujano pl\xe1stico que cuente con: "),p(),h(10,"ul",4)(11,"li"),m(12,"C\xe9dula profesional de m\xe9dico general, emitida por la Direcci\xf3n General de Profesiones."),p(),h(13,"li"),m(14,"C\xe9dula profesional de especialista en Cirug\xeda Pl\xe1stica, Est\xe9tica y/o Reconstructiva, tambi\xe9n emitida por la Direcci\xf3n General de Profesiones. "),p(),h(15,"li"),m(16," Certificado vigente de especialidad, otorgado por el Consejo Mexicano de Cirug\xeda Pl\xe1stica, Est\xe9tica y Reconstructiva, A.C., reconocido por el Comit\xe9 Normativo Nacional de Consejos de Especialidades M\xe9dicas, A.C. ("),h(17,"a",5),m(18,"https://conacem.org.mx/"),p(),m(19,"). "),p()(),h(20,"p",3)(21,"i"),m(22,"La informaci\xf3n sobre las vigencias de certificaci\xf3n corresponde a los datos proporcionados por el Consejo Nacional de Certificaci\xf3n en Medicina (CONACEM)."),p(),N(23,"br")(24,"br"),m(25," Realiza aqu\xed la consulta espec\xedfica de las personas profesionales especialistas m\xe9dicos que cuentan con estos tres requisitos."),N(26,"br")(27,"br"),m(28," La emisi\xf3n de la Constancia de Situaci\xf3n Profesional es completamente gratuita. "),p()(),h(29,"div",6)(30,"div",7)(31,"ul",8)(32,"li",9)(33,"a",10),S("click",function(){return o.selectTab(2)}),m(34,"Datos generales"),p()(),h(35,"li",9)(36,"a",11),S("click",function(){return o.selectTab(1)}),m(37,"N\xfamero de c\xe9dula"),p()()(),h(38,"div",12)(39,"div",13)(40,"form",14)(41,"div",15)(42,"div",16)(43,"label"),m(44,"N\xfamero de C\xe9dula*:"),p(),h(45,"input",17),S("input",function(s){return o.filtrarNumeros(s,"cedula")}),p(),h(46,"div",18),L(47,s3,2,0,"small",19),L(48,a3,2,0,"small",19),p()()()()(),h(49,"div",20)(50,"form",14)(51,"div",21)(52,"div",16)(53,"label",22),m(54,"Nombre(s)*:"),p(),h(55,"input",23),S("input",function(s){return o.filtrarLetras(s,"nombre")}),p(),L(56,u3,3,2,"div",24),p(),h(57,"div",16)(58,"label",25),m(59,"Primer Apellido*:"),p(),h(60,"input",26),S("input",function(s){return o.filtrarLetras(s,"primerApellido")}),p(),L(61,h3,3,2,"div",24),p(),h(62,"div",16)(63,"label",27),m(64,"Segundo Apellido:"),p(),h(65,"input",28),S("input",function(s){return o.filtrarLetras(s,"segundoApellido")}),p()()()()(),h(66,"div",29)(67,"button",30),S("click",function(){return o.onBuscarSettings()}),h(68,"span",31),m(69),p()(),h(70,"button",32),S("click",function(){return o.onLimpiar()}),h(71,"span",31),m(72,"Limpiar"),p()()()(),N(73,"link",33),p(),L(74,p3,2,0,"div",34),h(75,"div",35),L(76,g3,2,0,"p",36),L(77,v3,23,1,"table",37),L(78,C3,9,1,"div",38),p(),L(79,_3,8,0,"div",39),p(),L(80,b3,9,1,"div",40)),2&r){let i,s,a,c;D(32),I("ngClass",An(20,j0,2===o.selectedTab)),D(3),I("ngClass",An(22,j0,1===o.selectedTab)),D(4),I("ngClass",An(24,B0,1===o.selectedTab)),D(1),I("formGroup",o.cedulaForm),D(7),I("ngIf",(null==(i=o.cedulaForm.get("cedula"))||null==i.errors?null:i.errors.required)&&(null==(i=o.cedulaForm.get("cedula"))?null:i.touched)),D(1),I("ngIf",(null==(s=o.cedulaForm.get("cedula"))||null==s.errors?null:s.errors.pattern)&&(null==(s=o.cedulaForm.get("cedula"))?null:s.touched)),D(1),I("ngClass",An(26,B0,2===o.selectedTab)),D(1),I("formGroup",o.advancedSearchForm),D(5),I("disabled",o.formDisable),D(1),I("ngIf",(null==(a=o.advancedSearchForm.get("nombre"))?null:a.invalid)&&(null==(a=o.advancedSearchForm.get("nombre"))?null:a.touched)),D(5),I("ngIf",(null==(c=o.advancedSearchForm.get("primerApellido"))?null:c.invalid)&&(null==(c=o.advancedSearchForm.get("primerApellido"))?null:c.touched)),D(6),I("disabled",o.isBuscarDisabled||o.cargando),D(2),te("Buscar"),D(1),I("disabled",o.cargando),D(4),I("ngIf",o.cargando),D(2),I("ngIf",(null==o.resultadosCedula?null:o.resultadosCedula.length)>0),D(1),I("ngIf",(null==o.resultadosCedula?null:o.resultadosCedula.length)>0),D(1),I("ngIf",(null==o.resultadosCedula?null:o.resultadosCedula.length)>0),D(1),I("ngIf",o.generandoConstancia),D(1),I("ngIf",o.mostrarAlerta)}},dependencies:[Ff,Dr,wr,Pr,Ar,Ds,Tr,Ps,Or,Zo,N0],styles:[".container-cedula[_ngcontent-%COMP%]{max-width:100vw;background-color:#f8f9fa;border-radius:8px;box-shadow:0 4px 8px #0000001a;margin-bottom:5em}.ml[_ngcontent-%COMP%]{margin-left:15px!important}a[_ngcontent-%COMP%]{text-decoration:none}.btn[disabled][_ngcontent-%COMP%]{cursor:not-allowed;opacity:.5;color:#fff!important}.me-2[_ngcontent-%COMP%]{margin-right:.5rem}.btn-close[_ngcontent-%COMP%]{margin-left:1em!important}.mob[_ngcontent-%COMP%]{display:none}@media (max-width: 768px){.nav-tabs[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]{font-size:14px!important}.btn-group[_ngcontent-%COMP%]{margin:0 0 3em!important;display:flex!important;justify-content:center!important;flex-direction:row!important}.mlm[_ngcontent-%COMP%]{margin-left:5px!important}.desk[_ngcontent-%COMP%]{display:none!important}.mob[_ngcontent-%COMP%]{display:block!important}.btn[_ngcontent-%COMP%]{padding:10px 20px!important;font-size:12px!important}.btn-group[_ngcontent-%COMP%]{margin:20px;display:flex;justify-content:flex-end;flex-direction:column}}.result[_ngcontent-%COMP%]{display:flex;flex-direction:column;text-align:left;margin:2em}h4[_ngcontent-%COMP%]{font-weight:700;color:#343a40;text-align:left}.margen[_ngcontent-%COMP%]{margin:10px}.botones[_ngcontent-%COMP%]{display:flex;flex-direction:column}.form-check[_ngcontent-%COMP%]{margin-bottom:20px;display:flex}.form-check-input[_ngcontent-%COMP%]{transform:scale(1.3);margin-right:10px}.form-check-label[_ngcontent-%COMP%]{margin-top:1em;font-size:1rem;color:#495057}input.form-control[_ngcontent-%COMP%]{height:calc(1.5em + .75rem + 2px);font-size:1.5rem}.form-control[_ngcontent-%COMP%]{font-size:2rem;color:#495057}select[_ngcontent-%COMP%]{font-size:1.5rem!important;color:#495057!important;height:calc(1.5em + .75rem + 2px)!important}.text-danger[_ngcontent-%COMP%]{font-size:12px}table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{font-size:1.4rem}.spinner-container[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;margin-top:20px;margin-bottom:2em}.spinner[_ngcontent-%COMP%]{border:4px solid #f3f3f3;border-top:4px solid #b38e5d;border-radius:50%;width:40px;height:40px;animation:_ngcontent-%COMP%_spin 1s linear infinite}.spinner-btn-container[_ngcontent-%COMP%]{display:flex;align-items:center;margin-left:10px}.spinner-btn[_ngcontent-%COMP%]{border:3px solid #f3f3f3;border-top:3px solid #dc3545;border-radius:50%;width:20px;height:20px;animation:_ngcontent-%COMP%_spin 1s linear infinite;margin-right:5px;margin-left:-25px}@keyframes _ngcontent-%COMP%_spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.styled-select[_ngcontent-%COMP%]{margin:5px;padding:10px;font-size:14px;border-radius:5px;border:1px solid #ccc;background-color:#f9f9f9;appearance:none;-webkit-appearance:none;-moz-appearance:none;cursor:pointer;transition:all .3s ease}.styled-select[_ngcontent-%COMP%]:focus{border-color:#007bff;outline:none}.styled-select[_ngcontent-%COMP%]{margin:10px;padding:5px;font-size:12px;border-radius:5px;border:1px solid #ccc;background-color:#f9f9f9;appearance:none;-webkit-appearance:none;-moz-appearance:none;cursor:pointer;transition:all .3s ease}.styled-select[_ngcontent-%COMP%] option[_ngcontent-%COMP%]{padding:8px;font-size:12px}.styled-select[_ngcontent-%COMP%] option[_ngcontent-%COMP%]:hover{background-color:#007bff;color:#fff}.styled-select[_ngcontent-%COMP%] option[_ngcontent-%COMP%]:checked{background-color:#28a745;color:#fff}.modal-content[_ngcontent-%COMP%]{background-color:#fff;color:#611232;z-index:2}.page-link[_ngcontent-%COMP%]:active{background-color:#b38e5d!important}.btn-group[_ngcontent-%COMP%]{margin:20px;display:flex;justify-content:flex-end}hr.red[_ngcontent-%COMP%]{margin:20px 0}.busqueda-title[_ngcontent-%COMP%]{text-align:justify;font-weight:700;color:#343a40}.busqueda-text[_ngcontent-%COMP%]{text-align:justify;color:#343a40;width:100%;margin-bottom:2em;font-size:16px}.rowForm[_ngcontent-%COMP%]{margin-left:-15px!important;margin-right:-15px!important;display:flex!important;flex-direction:row!important;flex-wrap:wrap!important}.text-danger[_ngcontent-%COMP%]{color:#a94442;margin-top:-1em!important;font-size:16px!important}.section-title[_ngcontent-%COMP%], .section-title1[_ngcontent-%COMP%]{font-weight:600;margin-top:3.2rem;margin-bottom:.8rem;color:#495057;padding-bottom:.25rem}.section-title1[_ngcontent-%COMP%]{border-top:none}.info-grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1rem}.correccion[_ngcontent-%COMP%]{font-size:14px;margin-top:1em}@media (max-width: 768px){.container-cedula[_ngcontent-%COMP%]{max-width:90vw;background-color:#f8f9fa;border-radius:8px;box-shadow:0 4px 8px #0000001a;margin-bottom:5em}input.form-control[_ngcontent-%COMP%]{font-size:1.2rem;height:calc(1.5em + .75rem + 2px);width:76vw}.correccion[_ngcontent-%COMP%]{font-size:12px}.btn[_ngcontent-%COMP%]{width:80%}}@media (max-width: 480px){.info-grid[_ngcontent-%COMP%]{grid-template-columns:1fr}}@media (max-width: 450px){.busqueda-text[_ngcontent-%COMP%]{width:100%}.busqueda-title[_ngcontent-%COMP%]{text-align:center;font-size:28px}}.pagination[_ngcontent-%COMP%]{margin:10px 0}.page-item.active[_ngcontent-%COMP%] .page-link[_ngcontent-%COMP%]{background-color:#611232;color:#fff;border:1px solid #611232}input.flatpickr-input[_ngcontent-%COMP%]{padding:10px;font-size:16px;border-radius:4px;border:1px solid #ccc}.flatpickr-calendar[_ngcontent-%COMP%]{background-color:#f7f7f7;border-radius:6px;border:1px solid #611232;box-shadow:0 2px 10px #0000001a}.spinner-border[_ngcontent-%COMP%]{width:3rem;height:3rem}.requisitos-lista[_ngcontent-%COMP%]{margin-left:2em}.verificacion-text[_ngcontent-%COMP%]{font-size:16px}.verificacion-profesional[_ngcontent-%COMP%]{color:#333}.verificacion-text[_ngcontent-%COMP%]{text-align:justify}.requisitos-lista[_ngcontent-%COMP%]{list-style-type:decimal;padding-left:20px;text-align:left;font-size:16px}.verificacion-profesional[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#007bff;text-decoration:underline}.verificacion-profesional[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:none}.verificacion-profesional[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{font-weight:700}"]})}return e})(),data:{breadcrumb:"Especialistas: Cirug\xeda Pl\xe1stica, Est\xe9tica y Reconstructiva"}},{path:"**",redirectTo:""}];let w3=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=et({type:e});static \u0275inj=Ze({imports:[uw.forRoot(D3),uw]})}return e})(),E3=(()=>{class e{router;activatedRoute;viewportScroller;route;version="1.6.6";isProd=true;title="cpsep";breadcrumb="Inicio";constructor(t,r,o,i){this.router=t,this.activatedRoute=r,this.viewportScroller=o,this.route=i,this.router.events.pipe($t(s=>s instanceof pn)).subscribe(()=>{this.viewportScroller.scrollToPosition([0,0])})}ngOnInit(){this.removeTrackingQueryParams(),this.router.events.pipe($t(t=>t instanceof pn)).subscribe(()=>{this.breadcrumb=this.getBreadcrumb(this.activatedRoute.root)})}removeTrackingQueryParams(){const t=new URL(window.location.href);let o=!1;["fbclid","fclid","gclid","msclkid","twclid","ias","sfnsn"].forEach(i=>{t.searchParams.has(i)&&(t.searchParams.delete(i),o=!0)}),o&&window.history.replaceState({},document.title,t.pathname+t.search+t.hash)}ngAfterViewInit(){navigator.serviceWorker.getRegistrations().then(t=>{for(const r of t)r.unregister()})}getBreadcrumb(t,r=""){let o=r;return t.firstChild&&(o=this.getBreadcrumb(t.firstChild,`${o} > ${t.firstChild.snapshot.data.breadcrumb||""}`)),o}menuAbierto=!1;dropdownAbierto=null;toggleMenu(){this.menuAbierto=!this.menuAbierto,this.dropdownAbierto=null}toggleDropdown(t,r){t.preventDefault(),this.dropdownAbierto=this.dropdownAbierto===r?null:r}cerrarMenu(){this.menuAbierto=!1,this.dropdownAbierto=null}irYScrollArriba(t){this.router.url===t?window.scrollTo({top:0,behavior:"smooth"}):this.router.navigate([t]).then(()=>{window.scrollTo({top:0,behavior:"smooth"})}),this.cerrarMenu()}onScroll(){this.menuAbierto&&(this.menuAbierto=!1)}static \u0275fac=function(r){return new(r||e)(C(Xe),C(Kt),C(Nb),C(Kt))};static \u0275cmp=Ft({type:e,selectors:[["app-root"]],hostBindings:function(r,o){1&r&&S("scroll",function(){return o.onScroll()},0,lv)},decls:63,vars:4,consts:[[1,"menu-container"],["aria-label","Abrir men\xfa",1,"menu-toggle",3,"click"],[1,"container-menu","container"],[1,"menu-list"],[1,"dropdown"],["href","#",1,"dropdown-toggle",3,"click"],[1,"caret"],[1,"dropdown-menu"],[3,"click"],[1,"hero-section"],[1,"hero-overlay"],[1,"breadcrumb"],["routerLink","/","aria-label","Home"],[1,"icon","icon-home"],["href","#"],[1,"active"],[1,"footer-version"]],template:function(r,o){1&r&&(h(0,"nav")(1,"div",0)(2,"button",1),S("click",function(){return o.toggleMenu()}),m(3," \u2630 "),p(),h(4,"div",2)(5,"ul",3)(6,"li",4)(7,"a",5),S("click",function(s){return s.preventDefault()}),m(8,"Inicio "),N(9,"span",6),p(),h(10,"ul",7)(11,"li")(12,"a",8),S("click",function(){return o.irYScrollArriba("/cedula-profesional/Bienvenida")}),m(13," Bienvenida "),p()(),h(14,"li")(15,"a",8),S("click",function(){return o.irYScrollArriba("/cedula-profesional/terminos-y-condiciones")}),m(16," T\xe9rminos y Condiciones "),p()()()(),h(17,"li",4)(18,"a",5),S("click",function(s){return s.preventDefault()}),m(19,"C\xe9dulas Profesionales "),N(20,"span",6),p(),h(21,"ul",7)(22,"li")(23,"a",8),S("click",function(){return o.irYScrollArriba("/cedula-profesional/busqueda")}),m(24," B\xfasqueda de C\xe9dulas Profesionales "),p()(),h(25,"li")(26,"a",8),S("click",function(){return o.irYScrollArriba("cedula-profesional/validar-folio")}),m(27," Validar Constancia de Situaci\xf3n Profesional "),p()()()(),h(28,"li")(29,"a",8),S("click",function(){return o.irYScrollArriba("/cedula-profesional/certificaciones")}),m(30," Especialistas: Cirug\xeda Pl\xe1stica, Est\xe9tica y Reconstructiva "),p()(),h(31,"li")(32,"a",8),S("click",function(){return o.irYScrollArriba("/cedula-profesional/Cedulas-Estatales")}),m(33," C\xe9dulas Estatales "),p()(),h(34,"li",4)(35,"a",5),S("click",function(s){return s.preventDefault()}),m(36,"Datos Abiertos "),N(37,"span",6),p(),h(38,"ul",7)(39,"li")(40,"a",8),S("click",function(){return o.irYScrollArriba("/cedula-profesional/constancias-emitidas")}),m(41," Autorizaciones Provisionales "),p()(),h(42,"li")(43,"a",8),S("click",function(){return o.irYScrollArriba("/cedula-profesional/datos-abiertos")}),m(44," T\xedtulos Electr\xf3nicos "),p()()()(),h(45,"li")(46,"a",8),S("click",function(){return o.irYScrollArriba("/cedula-profesional/contacto")}),m(47," Contacto "),p()()()()()(),h(48,"div",9),N(49,"div",10),p(),h(50,"ol",11)(51,"li")(52,"a",12),N(53,"i",13),p()(),h(54,"li")(55,"a",14),m(56,"Inicio"),p()(),h(57,"li",15),m(58),p()(),h(59,"main"),N(60,"router-outlet"),p(),h(61,"footer",16),m(62),p()),2&r&&(D(5),xt("active",o.menuAbierto),D(53),te(o.breadcrumb),D(4),ic(" RNP v",o.version,"\n"))},dependencies:[hh,Jc],styles:['@charset "UTF-8";body[_ngcontent-%COMP%]{margin:0;font-family:Noto Sans,sans-serif;color:#fff;font-size:16px!important}a[_ngcontent-%COMP%]{cursor:pointer}.container-menu[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:flex-end}body.modal-open[_ngcontent-%COMP%]{overflow:hidden!important;position:fixed!important;width:100%!important}.footer-version[_ngcontent-%COMP%]{flex-shrink:0;text-align:center;padding:10px 0;background-color:#611232;color:#fff;font-size:14px;border-top:1px solid #ccc}.breadcrumb[_ngcontent-%COMP%]{text-align:left;margin:0 auto;max-width:100vw;top:-2em;width:1154px;bottom:0;padding:auto}.breadcrumb[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#393c3e;margin:5px!important}.breadcrumb[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] + li[_ngcontent-%COMP%]:before{display:none!important}h1[_ngcontent-%COMP%]{font-size:28px}.menu-list[_ngcontent-%COMP%]{display:none}.menu-list.active[_ngcontent-%COMP%]{display:block}nav[_ngcontent-%COMP%]{top:4.4em;color:#fff;background-color:#390b1f;padding:18px 0;position:fixed;width:100%;z-index:1000}.menu-container[_ngcontent-%COMP%]{width:103vw!important;margin-right:-3em;display:flex;align-items:center;justify-content:flex-end;padding:0 20px;flex-direction:row;flex-wrap:nowrap}.menu-logo[_ngcontent-%COMP%] .logo-link[_ngcontent-%COMP%]{font-size:20px;color:#fff;text-decoration:none}.menu-logo[_ngcontent-%COMP%] .logo-link[_ngcontent-%COMP%]:hover{color:#51152f}.menu-toggle[_ngcontent-%COMP%]{display:none;font-size:20px;color:#fff;background:none;border:none;cursor:pointer}.menu-list[_ngcontent-%COMP%]{list-style:none;margin:0;padding:0;display:flex;gap:0;font-size:15px}.menu-list[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none;color:#fff;padding:10px 20px;transition:background-color .3s ease}.menu-list[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{background-color:#571733;color:#fff!important}main[_ngcontent-%COMP%]{text-align:center;margin:-1em auto 4em;max-width:100vw;width:1154px}.dropdown-menu[_ngcontent-%COMP%]{background-color:#390b1f;color:#0f0303;font-size:14px!important}.hero-section[_ngcontent-%COMP%]{position:relative;margin-top:3.013em;margin-bottom:-20px;text-align:center;color:#1b1616;background-image:url(RNP_banner_v3.bf055cf3943bbe13.png);background-size:cover;background-repeat:no-repeat;width:100%;background-position:center;aspect-ratio:1945/338;height:auto}.hero-title[_ngcontent-%COMP%]{display:none}@media (max-width: 1600px){.hero-section[_ngcontent-%COMP%]{background-position:center;top:2px}}@media (max-width: 1199px){.hero-section[_ngcontent-%COMP%]{background-position:center;top:10px}}@media (max-width: 991px){.hero-section[_ngcontent-%COMP%]{background-position:center}}@media (max-width: 820px){.hero-section[_ngcontent-%COMP%]{aspect-ratio:1945/338}}@media (max-width: 790px){.hero-section[_ngcontent-%COMP%]{padding:70px 15px;background-image:url(RNP_banner_movil_v3.c537cee7d959c227.png);background-size:cover;background-position:center;aspect-ratio:2186/1568;height:auto;min-height:unset;top:.4em}}@media (max-width: 640px){.hero-section[_ngcontent-%COMP%]{padding:65px 12px}}@media (max-width: 576px){.hero-section[_ngcontent-%COMP%]{padding:60px 12px}}@media (max-width: 450px){.hero-section[_ngcontent-%COMP%]{padding:55px 10px;margin-bottom:2em;top:.4em}}@media (max-width: 390px){.hero-section[_ngcontent-%COMP%]{padding:50px 8px}}@media (max-width: 320px){.hero-section[_ngcontent-%COMP%]{padding:45px 6px}}@media (max-width: 1190px){main[_ngcontent-%COMP%]{text-align:center;margin:0 auto;max-width:100vw;width:100%}.breadcrumb[_ngcontent-%COMP%]{width:90%}.hero-section[_ngcontent-%COMP%]{padding:60px 20px;text-align:justify}.menu-toggle[_ngcontent-%COMP%]{display:block}.menu-list[_ngcontent-%COMP%]{display:none;flex-direction:column;background-color:#611232;padding:10px 0;position:absolute;top:55px;left:0;width:100%;z-index:999;gap:15px;font-size:15px;text-align:center}.menu-list.active[_ngcontent-%COMP%]{display:flex}.menu-list[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{padding:10px 20px;text-align:center}main[_ngcontent-%COMP%]{text-align:center;margin:0 auto 2em;max-width:92vw;width:90%}.dropdown-menu[_ngcontent-%COMP%]{position:absolute;left:50%!important;transform:translate(-50%);width:80vw;background-color:#b9b09d;border-radius:8px;margin-top:10px;z-index:1000}.dropdown-menu[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-align:center;display:block;padding:12px 16px;color:#fff!important;font-size:16px}.dropdown[_ngcontent-%COMP%]:hover .dropdown-menu[_ngcontent-%COMP%], .dropdown-menu.show[_ngcontent-%COMP%]{display:block}.menu-list[_ngcontent-%COMP%]{align-items:center}}@media (max-width: 450px){.hero-title[_ngcontent-%COMP%]{display:block;text-align:center}.breadcrumb[_ngcontent-%COMP%]{text-align:center;margin:-2em auto -1em;width:1154px}}@media (max-width: 790px){.hero-title[_ngcontent-%COMP%]{display:block;text-align:center;font-size:1.4rem;margin-top:1em;color:#fff}}.dropdown[_ngcontent-%COMP%]:hover > .dropdown-menu[_ngcontent-%COMP%]{display:block;position:absolute;background-color:#390b1f;z-index:1000}']})}return e})(),$0=(()=>{class e{constructor(t){this.zone=t,this.scriptElemId="ngx-catpcha-script",this.windowGrecaptcha="grecaptcha",this.windowGrecaptchaEnterprise="enterprise",this.windowOnLoadCallbackProperty="ngx_captcha_onload_callback",this.windowOnLoadEnterpriseCallbackProperty="ngx_captcha_onload_enterprise_callback",this.globalDomain="recaptcha.net",this.defaultDomain="google.com",this.enterpriseApi="enterprise.js",this.defaultApi="api.js"}registerCaptchaScript(t,r,o,i){if(this.grecaptchaScriptLoaded(t.useEnterprise))return void this.zone.run(t.useEnterprise?()=>{o(window[this.windowGrecaptcha][this.windowGrecaptchaEnterprise])}:()=>{o(window[this.windowGrecaptcha])});t.useEnterprise?window[this.getCallbackName(!0)]=()=>this.zone.run(o.bind(this,window[this.windowGrecaptcha][this.windowGrecaptchaEnterprise])):window[this.getCallbackName(!1)]=()=>this.zone.run(o.bind(this,window[this.windowGrecaptcha]));const s=document.createElement("script");s.id=this.scriptElemId,s.innerHTML="",s.src=this.getCaptchaScriptUrl(t,r,i),s.async=!0,s.defer=!0,document.getElementsByTagName("head")[0].appendChild(s)}cleanup(){const t=document.getElementById(this.scriptElemId);t&&t.remove(),window[this.getCallbackName()]=void 0,window[this.windowGrecaptcha]=void 0}grecaptchaScriptLoaded(t){return!!(window[this.getCallbackName(t)]&&window[this.windowGrecaptcha]&&(t&&window[this.windowGrecaptcha][this.windowGrecaptchaEnterprise]||window[this.windowGrecaptcha].execute))}getCallbackName(t){return t?this.windowOnLoadEnterpriseCallbackProperty:this.windowOnLoadCallbackProperty}getLanguageParam(t){return t?`&hl=${t}`:""}getCaptchaScriptUrl(t,r,o){return`https://www.${t.useGlobalDomain?this.globalDomain:this.defaultDomain}/recaptcha/${t.useEnterprise?this.enterpriseApi:this.defaultApi}?onload=${this.getCallbackName(t.useEnterprise)}&render=${r}${this.getLanguageParam(o)}`}}return e.\u0275fac=function(t){return new(t||e)(A(ce))},e.\u0275prov=R({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),S3=(()=>{class e{constructor(t,r){this.scriptService=t,this.zone=r}execute(t,r,o,i,s){this.executeAsPromise(t,r,i).then(o).catch(a=>s?s(a):console.error(a))}executeAsPromise(t,r,o){return new Promise((i,s)=>{this.scriptService.registerCaptchaScript(o||{},t,l=>{this.zone.runOutsideAngular(()=>{try{l.execute(t,{action:r}).then(u=>this.zone.run(()=>i(u)))}catch(u){s(u)}})})})}}return e.\u0275fac=function(t){return new(t||e)(A($0),A(ce))},e.\u0275prov=R({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),I3=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=et({type:e}),e.\u0275inj=Ze({providers:[$0,S3],imports:[Pb]}),e})();const A3=new T("recaptcha-language"),T3=new T("recaptcha-base-url"),x3=new T("recaptcha-nonce-tag"),Hh=(new T("recaptcha-settings"),new T("recaptcha-v3-site-key")),P3=new T("recaptcha-loader-options"),U0={loadScript:function O3(e,n,t,{url:r,lang:o,nonce:i}={}){window.ng2recaptchaloaded=()=>{t(grecaptcha)};const s=document.createElement("script");s.innerHTML="";const{url:a,nonce:c}=n(new URL(r||"https://www.google.com/recaptcha/api.js"));a.searchParams.set("render","explicit"===e?e:e.key),a.searchParams.set("onload","ng2recaptchaloaded"),a.searchParams.set("trustedtypes","true"),o&&a.searchParams.set("hl",o),s.src=a.href;const l=c||i;l&&s.setAttribute("nonce",l),s.async=!0,s.defer=!0,document.head.appendChild(s)},newLoadScript:function R3({v3SiteKey:e,onBeforeLoad:n,onLoaded:t}){U0.loadScript(e?{key:e}:"explicit",n,t)}};let H0=(()=>{class e{static{this.ready=null}constructor(t,r,o,i,s,a){this.platformId=t,this.language=r,this.baseUrl=o,this.nonce=i,this.v3SiteKey=s,this.options=a;const c=this.init();this.ready=c?function N3(e){return e.asObservable().pipe($t(n=>null!==n))}(c):F()}init(){if(e.ready)return e.ready;if(!function dF(e){return e===Ob}(this.platformId))return;const t=new Dt(null);return e.ready=t,U0.newLoadScript({v3SiteKey:this.v3SiteKey,onBeforeLoad:r=>{if(this.options?.onBeforeLoad)return this.options.onBeforeLoad(r);const o=new URL(this.baseUrl??r);return this.language&&o.searchParams.set("hl",this.language),{url:o,nonce:this.nonce}},onLoaded:r=>{let o=r;this.options?.onLoaded&&(o=this.options.onLoaded(r)),t.next(o)}}),t}static{this.\u0275fac=function(r){return new(r||e)(A(Yn),A(A3,8),A(T3,8),A(x3,8),A(Hh,8),A(P3,8))}}static{this.\u0275prov=R({token:e,factory:e.\u0275fac})}}return e})(),F3=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275mod=et({type:e})}static{this.\u0275inj=Ze({})}}return e})(),k3=(()=>{class e{static{this.\u0275fac=function(r){return new(r||e)}}static{this.\u0275mod=et({type:e})}static{this.\u0275inj=Ze({providers:[H0],imports:[F3]})}}return e})(),L3=(()=>{class e{constructor(t,r,o){this.recaptchaLoader=r,this.zone=t,this.siteKey=o,this.init()}get onExecute(){return this.onExecuteSubject||(this.onExecuteSubject=new ft,this.onExecuteObservable=this.onExecuteSubject.asObservable()),this.onExecuteObservable}get onExecuteError(){return this.onExecuteErrorSubject||(this.onExecuteErrorSubject=new ft,this.onExecuteErrorObservable=this.onExecuteErrorSubject.asObservable()),this.onExecuteErrorObservable}execute(t){const r=new ft;return this.grecaptcha?this.executeActionWithSubject(t,r):(this.actionBacklog||(this.actionBacklog=[]),this.actionBacklog.push([t,r])),r.asObservable()}executeActionWithSubject(t,r){const o=i=>{this.zone.run(()=>{r.error(i),this.onExecuteErrorSubject&&this.onExecuteErrorSubject.next({action:t,error:i})})};this.zone.runOutsideAngular(()=>{try{this.grecaptcha.execute(this.siteKey,{action:t}).then(i=>{this.zone.run(()=>{r.next(i),r.complete(),this.onExecuteSubject&&this.onExecuteSubject.next({action:t,token:i})})},o)}catch(i){o(i)}})}init(){this.recaptchaLoader.ready.subscribe(t=>{this.grecaptcha=t,this.actionBacklog&&this.actionBacklog.length>0&&(this.actionBacklog.forEach(([r,o])=>this.executeActionWithSubject(r,o)),this.actionBacklog=void 0)})}static{this.\u0275fac=function(r){return new(r||e)(A(ce),A(H0),A(Hh))}}static{this.\u0275prov=R({token:e,factory:e.\u0275fac})}}return e})();function V3(e){return()=>e.loadConfig()}let j3=(()=>{class e{static \u0275fac=function(r){return new(r||e)};static \u0275mod=et({type:e,bootstrap:[E3]});static \u0275inj=Ze({providers:[L3,vl,Vf,sr,{provide:hc,useFactory:V3,deps:[sr],multi:!0},{provide:Hh,useFactory:t=>t.config.recaptchaSiteKey,deps:[sr]}],imports:[ok,w3,FV,NV,ij,I3,k3]})}return e})();nk().bootstrapModule(j3).catch(e=>console.error(e))}},de=>{de(de.s=828)}]);